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

# Network Lookup

> Resolve the mobile network for a phone number, and the airtime `service_code` to buy airtime on it.



## OpenAPI

````yaml get /v1/bills/network-lookup
openapi: 3.0.3
info:
  title: Glyde Public API
  description: Glyde API for payments, collections, transfers, and virtual accounts
  version: 1.0.0
servers:
  - url: https://api.useglyde.co
    description: Production
  - url: https://sandbox.useglyde.co
    description: Sandbox
security:
  - bearerAuth: []
tags:
  - name: Account
    description: Account verification and bank listing
  - name: Collection
    description: Accept payments from customers
  - name: Transfers
    description: Send money to bank accounts. Available in NGN and ZAR
  - name: Transactions
    description: Transaction history and details
  - name: Settlements
    description: Settlement management
  - name: Wallet
    description: Per-currency wallet balances
  - name: Verification
    description: Identity verification
  - name: Virtual Accounts
    description: Virtual account management
  - name: Bills
    description: Buy airtime, data, electricity and cable TV from your naira wallet
paths:
  /v1/bills/network-lookup:
    get:
      tags:
        - Bills
      summary: Network Lookup
      description: >-
        Resolve the mobile network for a phone number, and the airtime
        `service_code` to buy airtime on it.
      operationId: billsNetworkLookup
      parameters:
        - name: phone_number
          in: query
          required: true
          schema:
            type: string
            pattern: ^0\d{10}$
          description: An 11 digit Nigerian mobile number, starting with 0
          example: '08031234567'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  message:
                    type: string
                    example: Network resolved
                  data:
                    type: object
                    properties:
                      network:
                        type: string
                        example: mtn
                      service_code:
                        type: string
                        example: mtn-airtime
        '422':
          description: Validation error, or the network could not be identified
        '503':
          $ref: '#/components/responses/BillsUnavailable'
components:
  responses:
    BillsUnavailable:
      description: >-
        Bill payments are switched off for your business, or the biller could
        not be reached. Try again shortly.
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: failed
              message:
                type: string
                example: >-
                  Bill payments are temporarily unavailable. Please try again
                  shortly.
              errors:
                type: object
                nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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