API Documentation Page

For Developer Use Only

Check Balance

Endpoint: https://dpnetworks.com.ng/api/user/

Method: GET


curl --location 'https://dpnetworks.com.ng/api/user/' \
--header 'Authorization: Token your-api-key-here' \
--header 'Content-Type: application/json'
            

Airtime

Endpoint: https://dpnetworks.com.ng/api/airtime/

Method: GET


curl --location 'https://dpnetworks.com.ng/api/airtime/' \
--header 'Authorization: Token your-api-key-here' \
--header 'Content-Type: application/json'
            

Data

Endpoint: https://dpnetworks.com.ng/api/data/

Method: GET


curl --location 'https://dpnetworks.com.ng/api/data/' \
--header 'Authorization: Token your-api-key-here' \
--header 'Content-Type: application/json'
            

Verify Cable

Endpoint: https://dpnetworks.com.ng/api/cabletv/verify/

Method: GET


curl --location 'https://dpnetworks.com.ng/api/cabletv/verify/' \
--header 'Authorization: Token your-api-key-here' \
--header 'Content-Type: application/json'
            

Cable

Endpoint: https://dpnetworks.com.ng/api/cabletv/

Method: GET


curl --location 'https://dpnetworks.com.ng/api/cabletv/' \
--header 'Authorization: Token your-api-key-here' \
--header 'Content-Type: application/json'
            

Verify Electricity

Endpoint: https://dpnetworks.com.ng/api/electricity/verify/

Method: GET


curl --location 'https://dpnetworks.com.ng/api/electricity/verify/' \
--header 'Authorization: Token your-api-key-here' \
--header 'Content-Type: application/json'
            

Electricity

Endpoint: https://dpnetworks.com.ng/api/electricity/

Method: GET


curl --location 'https://dpnetworks.com.ng/api/electricity/' \
--header 'Authorization: Token your-api-key-here' \
--header 'Content-Type: application/json'
            

Exam Pin

Endpoint: https://dpnetworks.com.ng/api/exam/

Method: GET


curl --location 'https://dpnetworks.com.ng/api/exam/' \
--header 'Authorization: Token your-api-key-here' \
--header 'Content-Type: application/json'
            

Data Pin

Endpoint: https://dpnetworks.com.ng/api/datapin/

Method: GET


curl --location 'https://dpnetworks.com.ng/api/datapin/' \
--header 'Authorization: Token your-api-key-here' \
--header 'Content-Type: application/json'
            

Social Boost - Plans

Endpoint: https://dpnetworks.com.ng/api/social/plans/

Method: GET

Returns every enabled Social Boost plan with the price for the calling account.


curl --location 'https://dpnetworks.com.ng/api/social/plans/' \
--header 'Authorization: Token your-api-key-here' \
--header 'Content-Type: application/json'
            

Social Boost - Place Order

Endpoint: https://dpnetworks.com.ng/api/social/

Method: POST

Body (JSON or form): plan, link, quantity, optional ref.


curl --location 'https://dpnetworks.com.ng/api/social/' \
--header 'Authorization: Token your-api-key-here' \
--header 'Content-Type: application/json' \
--data '{"plan":"279","link":"https://example.com/post","quantity":1000,"ref":"MY-REF-001"}'
            

Important: keep the trailing slash on every endpoint. The token must be sent in the Authorization header as Token <key>. Query-string keys, X-API-KEY and form field key are not accepted here. If your panel software sends a key field instead, use the standard SMM endpoint below.


Standard SMM Panel API (recommended for reseller panels)

Endpoint: https://dpnetworks.com.ng/api/v2

Method: POST (GET is also accepted)

This endpoint follows the request format used by Perfect Panel, Smart Panel, Ultimate SMM and most clones. The API key is sent as the key field - in the query string, the form body or a JSON body.

Supported actions: balance, services, add, status.


# Balance
curl --location 'https://dpnetworks.com.ng/api/v2' \
--data 'key=your-api-key-here&action=balance'

# Services (every enabled plan with its per-1000 rate)
curl --location 'https://dpnetworks.com.ng/api/v2' \
--data 'key=your-api-key-here&action=services'

# Place an order (ref is optional; reuse it to avoid a double charge)
curl --location 'https://dpnetworks.com.ng/api/v2' \
--data 'key=your-api-key-here&action=add&service=279&link=https://example.com/post&quantity=1000&ref=MY-REF-001'

# Order status (internal order id or provider order id)
curl --location 'https://dpnetworks.com.ng/api/v2' \
--data 'key=your-api-key-here&action=status&order=1'
            

Responses: {"balance":"1234.56","currency":"NGN"} for balance, a JSON array for services, {"order":123} for add, and {"charge","start_count","status","remains","currency"} for status. Errors follow the standard panel convention: HTTP 200 with {"error":"message"}.

Use https://dpnetworks.com.ng/api/v2 exactly as written - both /api/v2 and /api/v2/ work and neither redirects.

Note: the older api3 endpoints are retired and permanently redirect to the matching /api/ endpoint.