Docspeed Extraction API

Schema-driven and specialized extraction APIs.

Operations 6

POST /api/v1/extract Extract Endpoint #
POST /api/v1/tables Tables Extract Endpoint #
POST /api/v1/equations Equations Extract Endpoint #
POST /api/v1/charts Charts Describe Endpoint #
POST /api/v1/autoschema Schema Auto Endpoint #
POST /api/v1/compare Two Way Compare Endpoint #

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/docspeed-ai:docspeed-ai-extraction-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

docspeed-ai-extraction-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Docspeed Ai Extraction API
  version: 1.0.0
  description: 'Operations tagged Extraction across 2 of this provider''s published API definitions: docspeed-ai-openapi.json, openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Extraction
  description: Schema-driven and specialized extraction APIs.
paths:
  /api/v1/extract:
    post:
      tags:
      - Extraction
      summary: Extract Endpoint
      operationId: extract_endpoint_api_v1_extract_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExtractRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/tables:
    post:
      tags:
      - Extraction
      summary: Tables Extract Endpoint
      operationId: tables_extract_endpoint_api_v1_tables_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TableExtractRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/equations:
    post:
      tags:
      - Extraction
      summary: Equations Extract Endpoint
      operationId: equations_extract_endpoint_api_v1_equations_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EquationExtractRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/charts:
    post:
      tags:
      - Extraction
      summary: Charts Describe Endpoint
      operationId: charts_describe_endpoint_api_v1_charts_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChartDescribeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/autoschema:
    post:
      tags:
      - Extraction
      summary: Schema Auto Endpoint
      operationId: schema_auto_endpoint_api_v1_autoschema_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SchemaAutoRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/compare:
    post:
      tags:
      - Extraction
      summary: Two Way Compare Endpoint
      operationId: two_way_compare_endpoint_api_v1_compare_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TwoWayCompareRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TwoWayCompareResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TwoWayCompareResponse:
      properties:
        schema:
          $ref: '#/components/schemas/SchemaV2Payload'
        documents:
          items:
            $ref: '#/components/schemas/TwoWayCompareDocument'
          type: array
          title: Documents
        items:
          items:
            $ref: '#/components/schemas/TwoWayCompareItem'
          type: array
          title: Items
        verdict:
          $ref: '#/components/schemas/TwoWayCompareVerdict'
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
      type: object
      required:
      - schema
      - documents
      - verdict
      title: TwoWayCompareResponse
    ExtractRequest:
      properties:
        input:
          $ref: '#/components/schemas/InputSource'
        execution_mode:
          type: string
          enum:
          - async
          - sync
          title: Execution Mode
          default: async
        schema:
          anyOf:
          - $ref: '#/components/schemas/SchemaV2Payload'
          - type: 'null'
        schema_file_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Schema File Id
        grounding:
          anyOf:
          - type: boolean
          - type: string
            enum:
            - none
            - regions
            - cell
          title: Grounding
          default: true
      type: object
      required:
      - input
      title: ExtractRequest
    SchemaV2Payload:
      properties:
        doc_class:
          type: string
          title: Doc Class
        fields:
          items:
            $ref: '#/components/schemas/SchemaV2Field'
          type: array
          title: Fields
        tables:
          items:
            $ref: '#/components/schemas/SchemaV2Table'
          type: array
          title: Tables
      type: object
      required:
      - doc_class
      title: SchemaV2Payload
    InputSource:
      properties:
        file_id:
          anyOf:
          - type: string
          - type: 'null'
          title: File Id
        text:
          anyOf:
          - type: string
          - type: 'null'
          title: Text
        markdown:
          anyOf:
          - type: string
          - type: 'null'
          title: Markdown
        image_base64:
          anyOf:
          - type: string
          - type: 'null'
          title: Image Base64
        pdf_base64:
          anyOf:
          - type: string
          - type: 'null'
          title: Pdf Base64
        filename:
          anyOf:
          - type: string
          - type: 'null'
          title: Filename
      type: object
      title: InputSource
    SchemaV2Table:
      properties:
        key:
          type: string
          title: Key
        description:
          type: string
          title: Description
          default: ''
        fields:
          items:
            $ref: '#/components/schemas/SchemaV2Field'
          type: array
          title: Fields
      type: object
      required:
      - key
      title: SchemaV2Table
    TwoWayCompareDocument:
      properties:
        file_id:
          type: string
          title: File Id
        side:
          type: string
          enum:
          - left
          - middle
          - right
          title: Side
        extraction:
          $ref: '#/components/schemas/ExtractionResult'
      type: object
      required:
      - file_id
      - side
      - extraction
      title: TwoWayCompareDocument
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    SchemaAutoRequest:
      properties:
        inputs:
          items:
            $ref: '#/components/schemas/InputSource'
          type: array
          title: Inputs
        file_id:
          anyOf:
          - type: string
          - items:
              type: string
            type: array
          - type: 'null'
          title: File Id
        execution_mode:
          type: string
          enum:
          - async
          - sync
          title: Execution Mode
          default: async
        instructions:
          anyOf:
          - type: string
          - type: 'null'
          title: Instructions
        response_language:
          type: string
          enum:
          - en
          - ar
          - es
          - pt
          - fr
          - de
          - nl
          - it
          - hi
          - ru
          title: Response Language
          default: en
      type: object
      title: SchemaAutoRequest
    TwoWayCompareRequest:
      properties:
        file_ids:
          items:
            type: string
          type: array
          title: File Ids
        execution_mode:
          type: string
          enum:
          - async
          - sync
          title: Execution Mode
        response_language:
          type: string
          enum:
          - en
          - ar
          - es
          - pt
          - fr
          - de
          - nl
          - it
          - hi
          - ru
          title: Response Language
          default: en
        schema:
          anyOf:
          - type: string
            const: auto
          - $ref: '#/components/schemas/SchemaV2Payload'
          title: Schema
      additionalProperties: false
      type: object
      required:
      - file_ids
      - execution_mode
      - schema
      title: TwoWayCompareRequest
    ExtractionResult:
      properties:
        schema:
          $ref: '#/components/schemas/SchemaV2Payload'
        result:
          additionalProperties: true
          type: object
          title: Result
        grounding_mode:
          anyOf:
          - type: boolean
          - type: string
          title: Grounding Mode
        page_count:
          type: integer
          title: Page Count
          default: 1
      type: object
      required:
      - schema
      - result
      - grounding_mode
      title: ExtractionResult
    TwoWayCompareVerdict:
      properties:
        status:
          type: string
          enum:
          - match
          - match_with_errors
          - not_related
          title: Status
        summary:
          type: string
          title: Summary
        reasons:
          items:
            type: string
          type: array
          title: Reasons
        confidence:
          type: number
          title: Confidence
          default: 0.0
      type: object
      required:
      - status
      - summary
      title: TwoWayCompareVerdict
    SchemaV2Field:
      properties:
        key:
          type: string
          title: Key
        description:
          type: string
          title: Description
        type:
          type: string
          enum:
          - string
          - number
          - integer
          - boolean
          title: Type
          default: string
        array:
          type: boolean
          title: Array
          default: false
      type: object
      required:
      - key
      - description
      title: SchemaV2Field
    TwoWayCompareItem:
      properties:
        id:
          type: string
          title: Id
        key:
          type: string
          title: Key
        kind:
          type: string
          enum:
          - field
          - table_cell
          title: Kind
          default: field
        group:
          type: string
          title: Group
          default: Document fields
        label:
          type: string
          title: Label
        left_value:
          type: string
          title: Left Value
          default: ''
        right_value:
          type: string
          title: Right Value
          default: ''
        left_region_ids:
          items:
            type: string
          type: array
          title: Left Region Ids
        right_region_ids:
          items:
            type: string
          type: array
          title: Right Region Ids
        values:
          additionalProperties:
            type: string
          type: object
          title: Values
        region_ids:
          additionalProperties:
            items:
              type: string
            type: array
          type: object
          title: Region Ids
        status:
          type: string
          enum:
          - match
          - similar
          - mismatch
          - left_only
          - right_only
          - empty
          title: Status
        importance:
          type: string
          enum:
          - critical
          - important
          - normal
          - low
          title: Importance
          default: normal
        rationale:
          type: string
          title: Rationale
          default: ''
        similarity:
          type: number
          title: Similarity
          default: 0.0
      type: object
      required:
      - id
      - key
      - label
      - status
      title: TwoWayCompareItem
    TableExtractRequest:
      properties:
        input:
          $ref: '#/components/schemas/InputSource'
        execution_mode:
          type: string
          enum:
          - async
          - sync
          title: Execution Mode
          default: async
        grounding:
          type: string
          enum:
          - none
          - table
          - cell
          title: Grounding
          default: cell
        detection_policy:
          type: string
          enum:
          - strict
          - liberal
          title: Detection Policy
          default: strict
        boundary_source:
          type: string
          enum:
          - detector
          - layout
          - none
          title: Boundary Source
          default: detector
      type: object
      required:
      - input
      title: TableExtractRequest
    ChartDescribeRequest:
      properties:
        input:
          $ref: '#/components/schemas/InputSource'
        execution_mode:
          type: string
          enum:
          - async
          - sync
          title: Execution Mode
          default: async
      type: object
      required:
      - input
      title: ChartDescribeRequest
    EquationExtractRequest:
      properties:
        input:
          $ref: '#/components/schemas/InputSource'
        execution_mode:
          type: string
          enum:
          - async
          - sync
          title: Execution Mode
          default: async
        boundary_source:
          type: string
          enum:
          - detector
          - layout
          - none
          title: Boundary Source
          default: detector
      type: object
      required:
      - input
      title: EquationExtractRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- docspeed-ai-openapi.json
- openapi.json