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

# Check balance & rate limit

> **Requires `x-api-key` header.**

Rate limit: 5 requests/second per API key.

Returns your current credit balance, rate limit state, and total amount spent. Rate limit values are also returned as response headers X-RateLimit-Remaining and X-RateLimit-Reset.



## OpenAPI

````yaml /openapi.json get /balance
openapi: 3.0.3
info:
  title: Huntr — The GTM Intelligence API
  description: >-
    Give AI agents company, people, contact, and web intelligence through one
    API. Search accounts, build targeted lists, enrich leads, find contacts, and
    uncover buying signals.


    **Authentication:** Authenticated endpoints require an `x-api-key` header
    with your Huntr API key. Get a key by signing up via `POST /keys/create`.
    Public endpoints (pricing, sign-up, health) work without a key.


    **Rate limit:** 5 requests/second per API key on authenticated endpoints.
  version: 2.0.0
servers:
  - url: https://api.tryhuntr.com
security: []
tags:
  - name: Research
    description: >-
      Research one company, person, team, or focused business question and
      return a sales-ready answer. Lite, standard, and deep tiers.
  - name: Companies
    description: >-
      Search companies and enrich firmographics. Per-result pricing on search;
      count endpoints are free.
  - name: People
    description: >-
      Search people and enrich contacts — work email, phone, and related lookup
      endpoints.
  - name: LinkedIn
    description: >-
      LinkedIn URL discovery, company and profile pages, posts, reactions, and
      comments.
  - name: X
    description: X profiles, posts, search results, and thread context.
  - name: Web
    description: >-
      Find and analyze pages on a domain, plus tech stack, domain contacts, and
      job postings.
  - name: Account
    description: >-
      Sign up, verify email, recover keys, check balance, view usage, add
      credits, and read the public pricing matrix.
  - name: System
    description: Health check.
paths:
  /balance:
    get:
      tags:
        - Account
      summary: Check balance & rate limit
      description: >-
        **Requires `x-api-key` header.**


        Rate limit: 5 requests/second per API key.


        Returns your current credit balance, rate limit state, and total amount
        spent. Rate limit values are also returned as response headers
        X-RateLimit-Remaining and X-RateLimit-Reset.
      responses:
        '200':
          description: Account balance and rate limit state.
          headers:
            X-RateLimit-Remaining:
              schema:
                type: integer
              description: Requests remaining in the current rate limit window.
            X-RateLimit-Reset:
              schema:
                type: integer
              description: >-
                Unix timestamp in milliseconds when the rate limit window
                resets.
          content:
            application/json:
              schema:
                type: object
                properties:
                  email:
                    type: string
                    description: Email address associated with this API key.
                  credits:
                    type: number
                    description: >-
                      Current balance in USD. Deducted on each successful
                      research request at the tier price.
                  rate_limit:
                    type: object
                    description: >-
                      Current rate limit snapshot. Also returned as
                      X-RateLimit-Remaining and X-RateLimit-Reset response
                      headers.
                    properties:
                      remaining:
                        type: integer
                        description: Requests remaining in the current rate limit window.
                      reset:
                        type: integer
                        description: >-
                          Unix timestamp in milliseconds when the window resets
                          and remaining refills to the limit.
                  total_spent:
                    type: number
                    description: Cumulative USD spent across all requests on this key.
                  pricing_plan:
                    type: string
                    description: >-
                      Active standalone scraping pricing plan for this key.
                      `default` means standard scraping rates.
              example:
                email: you@company.com
                credits: 4.89
                rate_limit:
                  remaining: 28
                  reset: 1746127200000
                total_spent: 0.1
                pricing_plan: default
        '401':
          description: Invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your Huntr API key. Get one at tryhuntr.com. Pass as x-api-key header on
        all authenticated requests.

````