Datafiniti Business Data API

Search, look up and enrich business records (names, addresses, categories, contact details, hours, reviews) aggregated from public records, licensed providers and the web. Field reference: https://docs.datafiniti.co/docs/business-data-schema. Coverage tables: https://www.datafiniti.co/data/business-data.

GitHub OpenAPI

Operations 4

POST /businesses/search Search business records #
GET /businesses/{record_id} Fetch a single businesses record by id #
GET /businesses/{id} Get a specific business record #
POST /businesses/search/enrichment Enrich or suppress your data with business records #

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/datafiniti:business-data-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

datafiniti-businesses-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Datafiniti Businesses API
  version: '1.0'
  description: 'Operations tagged Businesses across 3 of this provider''s published API definitions: datafiniti-api.yml, datafiniti-v4-openapi.json, datafiniti-businesses-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.datafiniti.co/v4
  description: Datafiniti production API
security:
- bearerAuth: []
tags:
- name: Businesses
paths:
  /businesses/search:
    post:
      operationId: searchBusinesses
      summary: Search business records
      description: Search the business dataset. Returns up to 10 matching records, or a bulk download when download true is set in the request body.
      tags:
      - Businesses
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchRequest'
      responses:
        '200':
          description: Matching records or download metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResponse'
    servers:
    - url: https://api.datafiniti.co/v4
      description: Datafiniti production API
  /businesses/{record_id}:
    get:
      operationId: getBusinessesRecord
      summary: Fetch a single businesses record by id
      parameters:
      - name: record_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The record.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          description: Missing or invalid bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Feature not enabled, or field not permitted for this account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - bearerAuth: []
      tags:
      - Businesses
    servers:
    - url: https://api.datafiniti.co/v4
  /businesses/{id}:
    get:
      operationId: getBusinessesById
      summary: Get a specific business record
      description: Retrieve a single business record by its Datafiniti id (GET /{data_type}/{id}). Costs 1 credit per record.
      tags:
      - Businesses
      externalDocs:
        url: https://docs.datafiniti.co/reference/get-a-specific-record
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The Datafiniti record id of the business record.
      responses:
        '200':
          description: Successful retrieval of the record
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request or record not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error_2'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-source: https://docs.datafiniti.co/reference/get-a-specific-record.md
      x-operation-id-source: normalized
      x-operation-id-original: getBusinessesRecord
    servers:
    - url: https://api.datafiniti.co/v4
      description: Datafiniti v4 production API
  /businesses/search/enrichment:
    post:
      operationId: enrichBusinesses
      summary: Enrich or suppress your data with business records
      tags:
      - Businesses
      description: Upload a file and merge it with matching Datafiniti records. num_records is charged against the account on submission. Returns a download object (poll GET /downloads/{id}) or an errors array.
      externalDocs:
        url: https://docs.datafiniti.co/docs/enrichment-suppression
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/EnrichBusinessesRequest'
      responses:
        '200':
          description: A download object (with id) or an errors array
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnrichBusinessesResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error_2'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-source: https://docs.datafiniti.co/docs/enrichment-suppression.md
    servers:
    - url: https://api.datafiniti.co/v4
      description: Datafiniti v4 production API
components:
  schemas:
    SearchResponse:
      type: object
      properties:
        num_found:
          type: integer
        num_records:
          type: integer
        records:
          type: array
          items:
            type: object
        download_id:
          type: string
        download_url:
          type: string
          format: uri
    SearchRequest:
      type: object
      required:
      - query
      properties:
        query:
          type: string
          description: Datafiniti query expression filtering records.
        num_records:
          type: integer
          description: Maximum number of records returned in a download.
          minimum: 1
        download:
          type: boolean
          description: When true, request a bulk download of all matching records.
        format:
          type: string
          description: Bulk download format such as JSON or CSV.
          enum:
          - JSON
          - CSV
        view:
          type: string
          description: Named view selecting a subset of fields.
    Error:
      type: object
      properties:
        code:
          type: string
          enum:
          - invalid_type
          - invalid_enum
          - missing_required_field
          - out_of_range
          - unknown_field
          - invalid_field
          - invalid_query
          - invalid_view
          - not_found
          - no_results
          - credit_limit_exceeded
          - plan_restriction
          - feature_not_enabled
          - forbidden
          - query_runner_error
          - internal_error
        message:
          type: string
        field:
          type: string
          description: The request field this error concerns, when applicable.
      required:
      - code
      - message
    ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
      required:
      - errors
    Error_2:
      type: object
      description: Error body documented on every v4 reference page (400 tab).
      properties:
        error:
          type: string
        message:
          type: string
        code:
          type: integer
        details:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
              message:
                type: string
    EnrichBusinessesRequest:
      type: object
      required:
      - num_records
      - query
      properties:
        num_records:
          type: integer
          description: The number of records you want us to enrich.
        query:
          type: string
          description: Used to refine the data used for enrichment.
        format:
          type: string
          enum:
          - json
          - csv
          description: Final enriched data format; defaults to the original data format.
        view:
          type: string
          description: Which fields to add to your data; all fields when omitted.
      additionalProperties:
        type: string
        format: binary
        description: 'comparison_field: the field name(s) used to match records, holding the file to enrich.'
    EnrichBusinessesResponse:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
        errors:
          type: array
          items:
            type: string
  responses:
    Unauthorized:
      description: Missing, expired or invalid bearer token. The MCP server docs state auth failures return HTTP 401 (https://docs.datafiniti.co/mcp-server).
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
externalDocs:
  url: https://docs.datafiniti.co/llms/v4-0.txt
x-refined-from:
- datafiniti-api.yml
- datafiniti-v4-openapi.json
- datafiniti-businesses-api-openapi.yml