> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bilalsadasub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Data Plans

> Lists active data plans. **Requires your API key** — the `amount` returned is the price for **your account tier** (the exact amount your wallet is charged on Buy Data). Filter by `network` and/or `plan_type`.

Returns active data plans with the `plan_id` you pass as `data_plan` to [Buy Data](https://docs.bilalsadasub.com/reference/data.md).

> [!NOTE]
>
> Requires your API key (`Authorization: Token …`). The **`amount`** is the price for **your account tier** — the exact amount your wallet is charged on purchase — so every reseller sees their own pricing.

Filter with `network` (e.g. `MTN`, `AIRTEL`, `GLO`, `9MOBILE`) and/or `plan_type` (e.g. `SME`, `GIFTING`, `COOPERATE GIFTING`).


## OpenAPI

````yaml GET /api/v1/plans/data
openapi: 3.1.0
info:
  title: Bilalsadasub API
  version: 1.0.0
  description: >-
    Bilalsadasub developer API — buy data, airtime, cable, electricity, bulk
    SMS, exam pins, airtime-to-cash and flights, funded from your wallet.
servers:
  - url: https://bilalsadasub.com
    description: Production (live — charges your wallet)
security:
  - TokenAuth: []
tags:
  - name: Purchases
  - name: Verification
  - name: Betting
  - name: eSIM
  - name: Flights
  - name: Wallet
  - name: Catalogs
  - name: Account
paths:
  /api/v1/plans/data:
    get:
      tags:
        - Catalogs
      summary: List Data Plans
      description: >-
        Lists active data plans. **Requires your API key** — the `amount`
        returned is the price for **your account tier** (the exact amount your
        wallet is charged on Buy Data). Filter by `network` and/or `plan_type`.
      parameters:
        - name: network
          in: query
          required: false
          description: Filter by network name, e.g. MTN, AIRTEL, GLO, 9MOBILE
          schema:
            type: string
        - name: plan_type
          in: query
          required: false
          description: Filter by plan type, e.g. SME, GIFTING, COOPERATE GIFTING
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                status: success
                data:
                  - plan_id: 1
                    network: MTN
                    plan_name: 500MB
                    plan_type: SME
                    plan_day: 30 days
                    amount: 450
components:
  securitySchemes:
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Send your API key as `Token <your_api_key>`.


        Use your **live key** for real transactions, or your **sandbox key**
        (`sk_test_…`) to test — sandbox calls return a realistic simulated
        result and never touch your wallet. Add `"sandbox_status": "fail"` to
        any sandbox request to simulate a failure.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.