IndiaCos Account API

The Account API from IndiaCos — 4 operation(s) for account.

GitHub OpenAPI

Operations 4

GET /account Your account: wallet balance, price per call, calls remaining, top-up packs… #
POST /account/topup Start a wallet top-up of ₹500, ₹5,000 or ₹50,000 (+18% GST). #
GET /account/payments/{id} A top-up: pending, paid or expired (free) #
GET /account/usage Your most recent calls, with what each was billed (free) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/indiacos-com:indiacos-com-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

indiacos-com-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: IndiaCos Account API
  version: 2.0.0
  description: 'Prepaid API (sign up at https://indiacos.com/signup for ₹50 of free credit, then ₹0.40 per successful call; HTTP 402 insufficient_balance when the wallet is empty; agents: https://indiacos.com/auth.md; docs at https://indiacos.com/api/docs) to Indian companies and LLPs (status, capital, registered office, charges, GST filings), GST registrations, PAN lookups, directors, name pages, shared addresses, search and court-case summaries, one record at a time, under the IndiaCos Data Licence (https://indiacos.com/terms#licence): internal business use, commercial included, and showing individual records to your own users are allowed; resale or redistribution of the data, building a competing database and AI training need a written licence (support@indiacos.com). There are no bulk downloads.'
  contact:
    email: support@indiacos.com
  license:
    name: IndiaCos Data Licence
    url: https://indiacos.com/terms#licence
servers:
- url: https://indiacos.com/api/v1
security:
- bearer: []
- apiKey: []
- oauth:
  - api
tags:
- name: Account
paths:
  /account:
    get:
      summary: 'Your account: wallet balance, price per call, calls remaining, top-up packs…'
      operationId: getAccount
      responses:
        '200':
          description: Account
        '401':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Account
  /account/topup:
    post:
      summary: Start a wallet top-up of ₹500, ₹5,000 or ₹50,000 (+18% GST).
      operationId: topUp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - amount
              properties:
                amount:
                  type: integer
                  enum:
                  - 500
                  - 5000
                  - 50000
      responses:
        '201':
          description: Pending payment with pay_url
        '400':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Account
  /account/payments/{id}:
    get:
      summary: 'A top-up: pending, paid or expired (free)'
      operationId: getPayment
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Payment
        '404':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Account
  /account/usage:
    get:
      summary: Your most recent calls, with what each was billed (free)
      operationId: getUsage
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 500
          default: 50
      responses:
        '200':
          description: Calls
      tags:
      - Account
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        docs:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: API key of your IndiaCos account (https://indiacos.com/signup)
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
    oauth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://indiacos.com/oauth/authorize
          tokenUrl: https://indiacos.com/oauth/token
          refreshUrl: https://indiacos.com/oauth/token
          scopes:
            api: Use the API, billed to the wallet