oodata.ng
Sign in Get started

Developer portal

One simple API. Same shape as alrahuzdata.com.ng — drop in your key and base URL, you're done.

Your API key

Create an account to get your live API key.

Token

Overview

The odata.ng API lets you buy data, airtime, electricity, cable TV and education pins — and check transaction status — from any backend.

The request and response shapes are intentionally identical to alrahuzdata.com.ng: if your code already speaks to that API, point the base URL at https://www.odata.ng/api and swap the token. No other changes.

Authentication

Send your API key in the Authorization header on every request.

Authorization: Token YOUR_API_KEYContent-Type: application/json

Both Token <key> and Bearer <key> styles are accepted, so any client built for the alrahuzdata API will Just Work.

Base URL

https://www.odata.ng/api

Every endpoint sits under this prefix — e.g. https://www.odata.ng/api/user/, https://www.odata.ng/api/data/.

Quickstart

Buying 5GB of MTN data for 08012345678:

curl -X POST https://www.odata.ng/api/data/ \
  -H "Authorization: Token YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "network": 1,
    "mobile_number": "08012345678",
    "plan": 105,
    "Ported_number": true
  }'

You'll get back a JSON envelope identical to the alrahuz response — same field names, same status values.

Live plan catalog

Plan IDs you pass as the plan field. Pulled live from our database — these are always the correct IDs.

MTN

Plan IDTypeSizeValidityPrice (₦)
Loading…

GLO

Plan IDTypeSizeValidityPrice (₦)
Loading…

Airtel

Plan IDTypeSizeValidityPrice (₦)
Loading…

9mobile

Plan IDTypeSizeValidityPrice (₦)
Loading…