Tapetide Account API

Your plan and quota position. Free: never charged.

GitHub OpenAPI

Operations 1

GET /v1/me/usage Your quota position #

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/tapetide-com:tapetide-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

tapetide-com-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tapetide Account API
  version: 1.0.0
  summary: 'Indian stock-market data: quotes, financials, price history, shareholding, forecasts, deals, options analytics, indices and market flows.'
  description: 'REST access to the same data as the Tapetide MCP server, with the same token and the same quota. Authenticate with `Authorization: Bearer `; personal tokens are created at https://tapetide.com/settings/tokens. Every successful data request costs one unit from your plan''s daily and monthly quota. REST API access by plan: Pro+ (personal, non-commercial use), Enterprise and custom plans include it (`X-Tapetide-Api-Access: full`). Commercial use, or publishing or sharing the data, needs Enterprise. Free, Starter and Pro have no REST access. Without REST access, a data request answers HTTP 200 with the plan-access notice (`ApiAccessNotice`: `data: null`, `notice.code` = `api_access_not_in_plan`, header `X-Tapetide-Api-Access: not_in_plan`); nothing is charged. A malformed request is still its 400, checked first, and a route that needs a separate entitlement can answer 403 `entitlement_required` first. `GET /v1/me/usage` shows your quota position. Failed requests are refunded. `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` describe the quota window that binds the request and are sent on charged 200s and on a `quota_exhausted` 429 only. They are not sent on free routes, on errors (400, 401, 403, 404, 405, 5xx; never charged, so the position is unchanged), on the plan-access notice, on a per-minute `rate_limited` 429, which carries `Retry-After` alone, or on a `quota_exhausted` 429 whose `details.period` is `free_expired` (a free account whose free days are over), where nothing resets and no `Retry-After` is sent either. Read `GET /v1/me/usage` for your position at any time. Every path also answers HEAD and OPTIONS, both free and never logged as calls: HEAD returns the status and headers a GET would (400, 401, 404 for an unknown route, the plan-access header) without running the query or checking the quota, so it does not tell whether a record exists or a quota is used up; OPTIONS is the CORS preflight (404 on an unknown route). Any other method is a 405 `method_not_allowed`. Leading and trailing spaces in path and query values are ignored. An empty or only-spaces query value is the same as leaving the parameter out, except for free-text filters (`q`, `fund_house`, `house`, `benchmark` on the fund routes), where an only-spaces value is a 400. Soft hyphens, left-to-right and right-to-left marks and byte-order marks in a value are ignored; a value containing a text-direction control or a zero-width space or word joiner, or a path value containing a control character, is a 400 naming the parameter (zero-width joiners and non-joiners, which Indic scripts need, are accepted). Boolean parameters take `true` or `false`; `1` and `0` are accepted as the same. Fund-house keys, category keys and ISINs are case-insensitive. Responses are complete documents: nothing is truncated to fit, and routes that page say so in `meta`. Bulk pulls for a backtest: `/v1/stocks/{symbol}/fundamentals` with `from`, `to` and `limit=1000` returns every metric of one company for 2015-2026 in one call (under 950 rows), `/v1/stocks/{symbol}/results-filings` with `limit=500` its filings with broadcast times in one call, and `/v1/stocks/{symbol}/price?days=2000` about 1,350 daily sessions per call, paged back with `end_date`. So 500 companies over 2016-2026 take about 500 fundamentals, 500 filings and 900 price calls, about 1,900 in all: within one day of the Pro+ quota at today''s limits (2,500 calls a day, 50,000 a month). Keep to 60 calls a minute. Data blocks state how current they are with `data_as_of` (YYYY-MM-DD, the date the figures refer to: the last price session, quarter end, NAV date, statement month end or expense-ratio date) and `refreshed_at` (ISO-8601 UTC, when the rows served were last stored or confirmed, which can be later than when the figures last changed; null when not known): in `meta` when a response holds one block, on each block when it holds several.'
  contact:
    email: support@tapetide.com
    url: https://tapetide.com
  termsOfService: https://tapetide.com/terms
servers:
- url: https://api.tapetide.com
tags:
- name: Account
  description: 'Your plan and quota position. Free: never charged.'
paths:
  /v1/me/usage:
    get:
      operationId: getMyUsage
      summary: Your quota position
      description: 'The caller''s plan and current day/month usage against the counters every request is metered on. Free: this route never charges.'
      tags:
      - Account
      security:
      - bearer: []
      x-cost: 0
      responses:
        '200':
          description: OK. Free. On a plan with no REST access at all (Free), the plan-access notice instead.
          headers:
            X-Tapetide-Api-Access:
              description: 'REST access level for this request. `full`: the plan includes the REST API. `trial`: the call used one of the plan''s daily REST test calls; no plan offers test calls today. `not_in_plan`: the body is the plan-access notice (`data: null`), nothing was charged. Sent on metered 200s, on the notice, and on HEAD (the value GET would send); not on free routes'' data or on errors.'
              schema:
                type: string
                enum:
                - full
                - trial
                - not_in_plan
          content:
            application/json:
              example:
                data:
                  plan: starter
                  day:
                    period: '2026-10-16'
                    used: 42
                    limit: 400
                    remaining: 358
                    resets_at: '2026-10-16T18:30:00.000Z'
                  month:
                    period: 2026-10
                    used: 1053
                    limit: 5000
                    remaining: 3947
                    resets_at: '2026-10-31T18:30:00.000Z'
                  note: One request on either the REST API or the Tapetide MCP server costs one unit from the same counters. Failed requests are refunded. This route is free.
                meta:
                  as_of: '2026-10-16T09:30:00.000Z'
                  route: getMyUsage
              schema:
                anyOf:
                - type: object
                  properties:
                    data:
                      type: object
                      properties:
                        plan:
                          type: string
                        day:
                          $ref: '#/components/schemas/QuotaWindow'
                        month:
                          $ref: '#/components/schemas/QuotaWindow'
                        api_access:
                          type: object
                          description: 'REST access level. `full`: the plan includes the REST API. `trial`: the plan gets `daily_test_limit` REST calls per IST day.'
                          properties:
                            level:
                              type: string
                              enum:
                              - full
                              - trial
                            daily_test_limit:
                              type: integer
                            daily_test_used:
                              type: integer
                            daily_test_remaining:
                              type: integer
                            upgrade:
                              type: string
                          required:
                          - level
                        note:
                          type: string
                    meta:
                      type: object
                - $ref: '#/components/schemas/ApiAccessNotice'
        '401':
          description: Missing or invalid bearer token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '503':
          description: '`service_unavailable`: the authentication, quota or data service was temporarily unreachable or at capacity. `query_timeout`: the data query took too long and was stopped; a narrower request (shorter range, smaller page) is less likely to time out. Never charged; retry after `Retry-After` seconds.'
          headers:
            Retry-After:
              description: Seconds to wait before retrying (currently 5 for `service_unavailable`, 10 for `query_timeout`).
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    QuotaWindow:
      type: object
      properties:
        period:
          type: string
          description: IST day (YYYY-MM-DD) or month (YYYY-MM).
        used:
          type: integer
        limit:
          type:
          - integer
          - 'null'
          description: null means unlimited.
        remaining:
          type:
          - integer
          - 'null'
        resets_at:
          type: string
          format: date-time
    ApiAccessNotice:
      type: object
      description: 'Plan-access notice: the plan does not include REST access (or, on a plan with daily REST test calls, none offered today, those are used). HTTP 200, `data` is null, header `X-Tapetide-Api-Access: not_in_plan`, never charged. Branch on `notice.code`.'
      required:
      - data
      - notice
      - meta
      additionalProperties: false
      properties:
        data:
          type: 'null'
        notice:
          type: object
          required:
          - code
          - message
          - plan
          - daily_test_limit
          - daily_test_used
          - resets_at
          - personal_use
          - business_use
          properties:
            code:
              type: string
              const: api_access_not_in_plan
            message:
              type: string
              description: Human-readable explanation with the upgrade path.
            plan:
              type: string
              description: The caller's plan id (free, starter, pro, ...).
            daily_test_limit:
              type: integer
              description: REST test calls this plan gets per IST day (0 on every self-serve plan without REST access).
            daily_test_used:
              type: integer
              description: Test calls used today (equal to the limit when this notice is sent).
            resets_at:
              type: string
              format: date-time
              description: Next IST midnight, when the test calls reset.
            personal_use:
              type: object
              properties:
                plan:
                  type: string
                url:
                  type: string
                  format: uri
            business_use:
              type: object
              properties:
                plan:
                  type: string
                url:
                  type: string
                  format: uri
                email:
                  type: string
                  format: email
        meta:
          $ref: '#/components/schemas/SingleMeta'
      example:
        data: null
        notice:
          code: api_access_not_in_plan
          message: REST API access is not included in the Starter plan. For personal, non-commercial use, upgrade to Pro+ at https://tapetide.com/pricing. ...
          plan: starter
          daily_test_limit: 0
          daily_test_used: 0
          resets_at: '2026-11-16T18:30:00.000Z'
          personal_use:
            plan: pro_plus
            url: https://tapetide.com/pricing
          business_use:
            plan: enterprise
            url: https://tapetide.com/contact
            email: support@tapetide.com
        meta:
          as_of: '2026-11-16T09:30:00.000Z'
          route: getFundScheme
    SingleMeta:
      type: object
      required:
      - as_of
      - route
      properties:
        as_of:
          type: string
          format: date-time
        route:
          type: string
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - authentication_required
              - invalid_token
              - entitlement_required
              - invalid_request
              - route_not_found
              - not_found
              - method_not_allowed
              - rate_limited
              - quota_exhausted
              - upstream_unavailable
              - service_unavailable
              - query_timeout
              - tool_error
              - internal_error
            message:
              type: string
            details:
              type: object
              additionalProperties: true
              description: Present on some errors; every key is optional.
              properties:
                param:
                  type: string
                  description: '400: the path or query parameter at fault (`path` for a malformed path, an empty string for a query key with no name).'
                plan:
                  type: string
                  description: '`quota_exhausted` 429: the caller''s plan id.'
                period:
                  type: string
                  enum:
                  - day
                  - month
                  - free_expired
                  description: '`quota_exhausted` 429: the quota window that is used up, or `free_expired` when a free account''s free days are over (nothing resets: no Retry-After or quota headers).'
                entitlement:
                  type: string
                  description: '`entitlement_required` 403: the data the plan lacks.'
                upgrade_url:
                  type: string
                  description: '`entitlement_required` 403: where to upgrade.'
                index:
                  type:
                  - string
                  - 'null'
                  description: '404 on a stock route given an index name: that index.'
                indices:
                  type: array
                  description: '400 on a symbol list containing index names: each such symbol and its index.'
                  items:
                    type: object
                    properties:
                      symbol:
                        type: string
                      index:
                        type: string
  responses:
    MethodNotAllowed:
      description: '`method_not_allowed`: the API is read-only; only GET, HEAD and OPTIONS are served. Not charged.'
      headers:
        Allow:
          description: Always `GET, HEAD, OPTIONS`.
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: Tapetide personal token (tpt_rt_...) or access token (tpt....).