Smarter Data Account API

Balance, usage, your list and credit packs.

GitHub OpenAPI

Operations 4

GET /v1/me Your account and balance (free) #
GET /v1/me/usage Your credit usage (free) #
GET /v1/me/list Your list: everything you bought in the last 12 months (free) #
GET /v1/billing/packs Credit packs for sale (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/smarterdata:smarterdata-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

smarterdata-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Smarter Data Account API
  version: '1'
  summary: 'U.S. local business data: companies, named contacts, live web search, email verification and crawling.'
  description: 'Find local businesses by industry and place, with the address, the phone and the people who run them. Pay per record in credits: counts and estimates are free, no match costs nothing, and the same record is never sold to you twice inside a year. Every operation states its price in x-credit-cost. Full reference with examples: https://smarterdata.ai/docs/. The machine-readable contract of the running build is GET /v1/schema.'
  contact:
    name: Smarter Data support
    email: support@smarterdata.ai
    url: https://smarterdata.ai/contact/
  termsOfService: https://smarterdata.ai/legal/terms.html
servers:
- url: https://api.smarterdata.ai
security:
- apiKey: []
tags:
- name: Account
  description: Balance, usage, your list and credit packs.
paths:
  /v1/me:
    get:
      operationId: me
      summary: Your account and balance (free)
      description: 'Your email, name, credit balance, scopes and keys (prefixes only: a full key is never shown again after it is minted).'
      tags:
      - Account
      x-credit-cost:
        credits: 0
        per: call
      responses:
        '200':
          description: Your account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '431':
          $ref: '#/components/responses/HeaderTooLarge'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v1/me/usage:
    get:
      operationId: usage
      summary: Your credit usage (free)
      description: 'Net credits and calls per action over the last 30 days (usage), and the last 25 ledger entries: charges, holds, refunds and purchases (ledger).'
      tags:
      - Account
      x-credit-cost:
        credits: 0
        per: call
      responses:
        '200':
          description: Usage and the ledger.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Usage'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '431':
          $ref: '#/components/responses/HeaderTooLarge'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v1/me/list:
    get:
      operationId: myList
      summary: 'Your list: everything you bought in the last 12 months (free)'
      description: 'Every company (kind=companies) or contact (kind=contacts) your account bought in the last 365 days, with its current values and bought_at. 0 credits; downloading it records nothing and moves no window. A contact is the same flat record GET /v1/contacts returns. Cell numbers and personal emails only for a key with the personal_data scope. One CSV download runs at a time per account: a second answers 429 list_download_running.'
      tags:
      - Account
      x-credit-cost:
        credits: 0
        per: call
      parameters:
      - name: kind
        in: query
        required: false
        schema:
          type: string
          enum:
          - companies
          - contacts
          description: Which records of your list. Default companies.
      - name: format
        in: query
        required: false
        schema:
          type: string
          enum:
          - json
          - csv
          description: 'json (default): pages of limit records, continued with next_cursor. csv: the whole list as one file (limit is not accepted with csv).'
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          description: Records per call, 1 to 1000.
          minimum: 1
          maximum: 1000
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          description: next_cursor from the previous page, as received. Valid only for your account and the same kind.
      responses:
        '200':
          description: A page of your list (JSON), or the whole list (CSV).
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/CompanyList'
                - $ref: '#/components/schemas/ContactList'
            text/csv:
              schema:
                type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '431':
          $ref: '#/components/responses/HeaderTooLarge'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v1/billing/packs:
    get:
      operationId: creditPacks
      summary: Credit packs for sale (free)
      description: The credit packs on sale, each with its id, name, credits and amount_cents, and billing, which is "live" when purchases are open.
      tags:
      - Account
      x-credit-cost:
        credits: 0
        per: call
      responses:
        '200':
          description: The packs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Packs'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '431':
          $ref: '#/components/responses/HeaderTooLarge'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    Contact:
      type: object
      description: 'One contact at one company, as flat fields: the record of GET /v1/contacts and of the contacts in GET /v1/me/list. It carries every channel it holds.'
      properties:
        id:
          type: string
          description: 'Opaque, ct:h: + 24 hex.'
        business_id:
          type: string
        company_name:
          type:
          - string
          - 'null'
        contact_class:
          type:
          - string
          - 'null'
          enum:
          - person
          - person_business_inbox
          - business_inbox
          - owner_name_only
          - linkedin_only
          - person_office_only
          - other
          - null
        name:
          type:
          - string
          - 'null'
        first_name:
          type:
          - string
          - 'null'
        last_name:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        seniority:
          type: string
          enum:
          - executive
          - operational
          - financial
          - owner_operator
          - staff
          - unknown
        is_decision_maker:
          type: boolean
        level:
          type:
          - string
          - 'null'
        function:
          type:
          - string
          - 'null'
        city:
          type:
          - string
          - 'null'
        state:
          type:
          - string
          - 'null'
        email:
          type:
          - string
          - 'null'
        email_type:
          type:
          - string
          - 'null'
          enum:
          - personal
          - business
          - null
        cell:
          type:
          - string
          - 'null'
        office:
          type:
          - string
          - 'null'
        linkedin:
          type:
          - string
          - 'null'
        origin:
          type: string
        bought_at:
          type: string
          format: date-time
          description: Only on GET /v1/me/list.
    Company:
      type: object
      description: Every column is always present; unknown = null.
      examples:
      - business_id: co:d:examplepaving.com
        name: Example Paving Co.
        niche: concrete_paving
        niche_refined: concrete_paving
        sector: Construction
        naics: '238110'
        street: 1402 Oak St
        city: Dallas
        state: TX
        zip: '75204'
        lat: 32.8007
        lon: -96.7899
        phone: '2145550142'
        domain: examplepaving.com
        domain_status: null
        employees: 12
        employees_band: 10-49
        revenue_est: 3200000
        revenue_band: 1-10M
        is_public: null
        quality_score: 85
        service_lines:
        - concrete_paving
        - general_contractor
        is_multi_location: false
        origins:
        - map_listing
        - web_presence
        size_source: measured
        is_dissolved: false
        is_listing_name: false
      properties:
        business_id:
          type: string
          description: Opaque; store as received.
        name:
          type: string
        niche:
          type:
          - string
          - 'null'
        niche_refined:
          type:
          - string
          - 'null'
        sector:
          type:
          - string
          - 'null'
        naics:
          type:
          - string
          - 'null'
        street:
          type:
          - string
          - 'null'
        city:
          type:
          - string
          - 'null'
        state:
          type:
          - string
          - 'null'
        zip:
          type:
          - string
          - 'null'
        lat:
          type:
          - number
          - 'null'
        lon:
          type:
          - number
          - 'null'
        phone:
          type:
          - string
          - 'null'
          description: 10 digits.
        domain:
          type:
          - string
          - 'null'
        domain_status:
          type:
          - string
          - 'null'
          enum:
          - null
          - mismatch
          - social_link
          - directory_listing
          - unverified
        employees:
          type:
          - integer
          - 'null'
        employees_band:
          type: string
        revenue_est:
          type:
          - number
          - 'null'
          description: Modeled estimate, never reported financials.
        revenue_band:
          type: string
        is_public:
          type:
          - boolean
          - 'null'
        quality_score:
          type: integer
          minimum: 0
          maximum: 100
        service_lines:
          type: array
          items:
            type: string
        is_multi_location:
          type:
          - boolean
          - 'null'
        origins:
          type: array
          items:
            type: string
        size_source:
          type:
          - string
          - 'null'
        is_dissolved:
          type:
          - boolean
          - 'null'
        is_listing_name:
          type:
          - boolean
          - 'null'
        bought_at:
          type: string
          format: date-time
          description: Only on GET /v1/me/list.
    Usage:
      type: object
      required:
      - ok
      - usage
      - ledger
      properties:
        ok:
          type: boolean
        usage:
          type: array
          description: The last 30 days, one entry per action that was charged.
          items:
            type: object
            properties:
              action:
                type: string
                description: A key of the price table, e.g. company_search.
              units:
                type: integer
                description: 'Net credits: refunds taken off.'
              calls:
                type: integer
        ledger:
          type: array
          description: The last 25 ledger entries, newest first.
          items:
            type: object
            properties:
              delta:
                type:
                - integer
                - string
                description: Credits added (above 0) or taken (below 0). A whole number, which may arrive as a string.
              reason:
                type: string
              balance_after:
                type:
                - integer
                - string
                - 'null'
                description: The balance after this entry. A whole number, which may arrive as a string.
              shortfall:
                type:
                - integer
                - string
                - 'null'
              created_at:
                type: string
                format: date-time
    Error:
      type: object
      required:
      - ok
      - error
      properties:
        ok:
          const: false
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              description: Machine-stable; see https://smarterdata.ai/docs/#errors.
            message:
              type: string
            request_id:
              type: string
        credits_used:
          type: integer
        credits_remaining:
          type: integer
          description: 'On a 402: your balance.'
        credits_needed:
          type: integer
          description: 'On a 402: what the call needs.'
    Account:
      type: object
      required:
      - ok
      properties:
        ok:
          type: boolean
        email:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        credits:
          type: integer
          description: Your balance.
        scopes:
          type: array
          items:
            type: string
        keys:
          type: array
          items:
            type: object
            properties:
              prefix:
                type: string
              scopes:
                type: array
                items:
                  type: string
              status:
                type: string
              last_used_at:
                type:
                - string
                - 'null'
                format: date-time
        plan:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            monthly_allowance:
              type: integer
        status:
          type: string
          description: active, or suspended.
    Envelope:
      type: object
      required:
      - ok
      properties:
        ok:
          type: boolean
        entity:
          type: string
        count:
          type:
          - integer
          - 'null'
          description: Records in this answer. null on a contact count or estimate of a segment under 25 companies.
        credits_used:
          type: integer
        credits_remaining:
          type: integer
        estimate:
          type: boolean
          description: true on an answer to estimate=true.
        credit_cost:
          type:
          - integer
          - 'null'
          description: On estimate=true.
        credits_per_record:
          type: integer
          description: On a contact estimate.
        has_more:
          type: boolean
        total_matching:
          type: integer
        pagination_mode:
          type: string
        definition:
          type: string
          description: 'On contact answers: named_dm_strict or any_reachable_person.'
        already_delivered:
          type:
          - boolean
          - integer
          description: true on a record you bought in the last 12 months; on a reveal, how many contacts were withheld for that reason.
        replayed:
          type: boolean
          description: true on a retry with the same idempotency-key.
        original_credits_used:
          type: integer
          description: 'On a replay: what the first call paid.'
        next_cursor:
          type:
          - string
          - 'null'
          description: On GET /v1/me/list.
        window_days:
          type: integer
          description: On GET /v1/me/list.
        note:
          type: string
        notes:
          type: array
          items:
            type: string
        records:
          type: array
          items: {}
    CompanyList:
      allOf:
      - $ref: '#/components/schemas/Envelope'
      - type: object
        properties:
          records:
            type: array
            items:
              $ref: '#/components/schemas/Company'
    ContactList:
      allOf:
      - $ref: '#/components/schemas/Envelope'
      - type: object
        properties:
          records:
            type: array
            items:
              $ref: '#/components/schemas/Contact'
    Packs:
      type: object
      required:
      - ok
      - packs
      properties:
        ok:
          type: boolean
        packs:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              credits:
                type: integer
              amount_cents:
                type: integer
        plan:
          type: string
        billing:
          type: string
          description: '"live" when purchases are open.'
        note:
          type: string
  responses:
    RateLimited:
      description: 'Codes: rate_limited (requests per key; calls that carry name=; estimates running at once), live_rate_limited (live pages per account per minute), daily_cap_reached (the daily credit cap of the key), auth_rate_limited (unknown keys from one address), list_download_running (a second CSV download of your list). Retry after the Retry-After header when present. Nothing charged.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: 'invalid_api_key: the key is missing, unknown or revoked.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: 'Codes: busy (the data service is at capacity: retry in a few seconds), upstream_unavailable, upstream_paused or upstream_busy (a live, verification or crawl source cannot answer now), job_interrupted (a job was closed before its hold was taken: submit it again), auth_unavailable (a console sign-in could not be checked). Nothing charged.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    HeaderTooLarge:
      description: 'request_header_too_large: the request line and headers are over 16 KB, usually a very long query string. This answer carries no request_id. Nothing charged.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: 'internal_error: a fault on our side. A charge of that request is refunded. Retry with the same idempotency-key and quote the request_id if it happens again.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: 'Codes: scope_required (the result holds a cell number or a personal email and the key has no personal_data scope), api_key_required (a paid call from a console session: records leave only through an API key), account_suspended, login_not_accepted (a console sign-in that cannot open an account). Nothing charged.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: 'A malformed request. Codes: unknown_filter (a parameter name the route does not take), empty_filter, bad_boolean, bad_limit, bad_number, bad_channels, bad_entity, bad_redeliver_after_days, offset_not_supported, segment_too_small, page_range, q_required, email_required, bad_request. Nothing charged.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: sk_live_… key from the console (https://smarterdata.ai/app/).
externalDocs:
  description: API reference
  url: https://smarterdata.ai/docs/