Datafiniti Downloads API

List, inspect and cancel downloads started by a search with download true or by an enrichment job. Completed downloads return result-file links in results[].url.

GitHub OpenAPI

Operations 4

GET /downloads/{download_id} Poll the status of a download started via POST /:data_type/search with… #
GET /downloads Get all downloads #
GET /downloads/{id} Get a download #
DELETE /downloads/{id} Cancel a download #

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:downloads-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-downloads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Datafiniti Downloads API
  version: '4'
  description: 'Operations tagged Downloads across 2 of this provider''s published API definitions: datafiniti-v4-openapi.json, datafiniti-downloads-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.datafiniti.co/v4
security:
- bearerAuth: []
tags:
- name: Downloads
paths:
  /downloads/{download_id}:
    get:
      operationId: getDownloadStatus
      summary: Poll the status of a download started via POST /:data_type/search with…
      parameters:
      - name: download_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The Download object, including status and, once complete, result file links.
          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:
      - Downloads
    servers:
    - url: https://api.datafiniti.co/v4
  /downloads:
    get:
      operationId: getAllDownloads
      summary: Get all downloads
      description: Retrieve an array of all downloads you have started, including cancelled and completed ones.
      tags:
      - Downloads
      externalDocs:
        url: https://docs.datafiniti.co/reference/get-all-downloads
      responses:
        '200':
          description: Successful retrieval of all downloads
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAllDownloadsResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error_2'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-source: https://docs.datafiniti.co/reference/get-all-downloads.md
    servers:
    - url: https://api.datafiniti.co/v4
      description: Datafiniti v4 production API
  /downloads/{id}:
    get:
      operationId: getDownload
      summary: Get a download
      description: Retrieve information about a specific download by its ID.
      tags:
      - Downloads
      externalDocs:
        url: https://docs.datafiniti.co/reference/get-a-download
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The download id.
      responses:
        '200':
          description: Successful retrieval of download details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDownloadResponse'
        '400':
          description: Bad request or download 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-download.md
    delete:
      operationId: cancelDownload
      summary: Cancel a download
      description: Cancel an in-progress download. Cancelled downloads retain records added before cancellation.
      tags:
      - Downloads
      externalDocs:
        url: https://docs.datafiniti.co/reference/cancel-a-download
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The download id.
      responses:
        '200':
          description: Download successfully cancelled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelDownloadResponse'
        '400':
          description: Bad request or download not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error_2'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-source: https://docs.datafiniti.co/reference/cancel-a-download.md
    servers:
    - url: https://api.datafiniti.co/v4
      description: Datafiniti v4 production API
components:
  schemas:
    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
    GetAllDownloadsResponse:
      type: object
      properties:
        id:
          type: string
          description: Unique download identifier
        status:
          type: string
          description: Current status of the download
          enum:
          - queued
          - in_progress
          - completed
          - cancelled
        num_records:
          type: integer
          description: Number of records in the download
        results:
          type: array
          description: Array of download result file links URL to download the result file
        created_at:
          type: string
          description: Timestamp when the download was created
    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
    CancelDownloadResponse:
      type: object
      properties:
        message:
          type: string
          description: Confirmation message
    GetDownloadResponse:
      type: object
      properties:
        id:
          type: string
          description: Unique download identifier
        status:
          type: string
          description: Current status of the download
          enum:
          - queued
          - in_progress
          - completed
          - cancelled
        num_records:
          type: integer
          description: Number of records in the download
        results:
          type: array
          description: Array of download result file links URL to download the result file
        created_at:
          type: string
          description: Timestamp when the download was created
  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-v4-openapi.json
- datafiniti-downloads-api-openapi.yml