Skip to main content
GET
/
v3
/
internet
/
products
List Internet Products
curl --request GET \
  --url https://api.oneclickdz.com/v3/internet/products \
  --header 'X-Access-Token: <api-key>'
{
  "success": true,
  "data": {
    "products": [
      {
        "cost": 123,
        "value": 123,
        "available": true
      }
    ],
    "type": "<string>"
  },
  "meta": {
    "timestamp": "<string>"
  }
}

Overview

Returns available internet recharge cards for ADSL and 4G LTE services with real-time pricing and stock availability.

Query Parameters

type
string
required
Internet service type: ADSL or 4G

Response

success
boolean
required
Indicates if the request was successful
data
object
required
meta
object
required

Examples

curl "https://api.oneclickdz.com/v3/internet/products?type=ADSL" \
  -H "X-Access-Token: YOUR_API_KEY"

ADSL Products Response

{
  "success": true,
  "data": {
    "products": [
      {
        "cost": 1900,
        "value": 2000,
        "available": false
      },
      {
        "cost": 2850,
        "value": 3000,
        "available": true
      },
      {
        "cost": 475,
        "value": 500,
        "available": true
      },
      {
        "cost": 950,
        "value": 1000,
        "available": true
      }
    ],
    "type": "ADSL"
  },
  "meta": {
    "timestamp": "2025-10-29T00:36:50.059Z"
  }
}

4G Products Response

{
  "success": true,
  "data": {
    "products": [
      {
        "cost": 950,
        "value": 1000,
        "available": true
      },
      {
        "cost": 1425,
        "value": 1500,
        "available": true
      },
      {
        "cost": 475,
        "value": 500,
        "available": true
      },
      {
        "cost": 2375,
        "value": 2500,
        "available": true
      },
      {
        "cost": 3325,
        "value": 3500,
        "available": true
      },
      {
        "cost": 6175,
        "value": 6500,
        "available": false
      },
      {
        "cost": 1140,
        "value": 1200,
        "available": true
      }
    ],
    "type": "4G"
  },
  "meta": {
    "timestamp": "2025-10-29T00:36:50.632Z"
  }
}

Important Notes

Remove cost before displaying to end users. Apply your own markup for pricing.
Check available: true before allowing users to order. Stock levels are real-time.

Phone Number Formats

ADSL Numbers

  • Format: 0[0-9]{8}
  • Examples: 036362608, 031417237
  • Fixed line numbers (landline)

4G Numbers

  • Format: 213[0-9]{9}
  • Examples: 213472731602, 213665983439
  • Mobile numbers with country code
Validate numbers before ordering →

Best Practices

Check Stock

Always verify available: true before displaying to users

Apply Markup

Calculate: sellPrice = cost * (1 + yourMargin)

Cache Products

Cache for 5-10 minutes to reduce API calls

Validate Numbers

Use validate endpoint before submitting orders