VStudio Extract API

The Extract API from VStudio, for extract.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

POST /v1/extract Extract JSON from document #
POST /v1/extract/batch Create batch job #

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/vstudiodigital-com:vstudiodigital-com-extract-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

vstudiodigital-com-extract-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mervext Extract API
  description: Documents in. Structured fields out. Extract validated JSON from invoices, receipts, contracts and Danish leases. Per-field confidence. Zero-retention.
  version: 0.7.15
security:
- X-API-Key: []
tags:
- name: Extract
paths:
  /v1/extract:
    post:
      summary: Extract JSON from document
      operationId: extract_endpoint_v1_extract_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_extract_endpoint_v1_extract_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Extract
  /v1/extract/batch:
    post:
      summary: Create batch job
      operationId: extract_batch_endpoint_v1_extract_batch_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_extract_batch_endpoint_v1_extract_batch_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Extract
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    Body_extract_endpoint_v1_extract_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
          description: PDF, text, or image file
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Schema
          description: Schema id (invoice, receipt, …)
        document_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Document Type
          description: Alias for schema
        schema_json:
          anyOf:
          - type: string
          - type: 'null'
          title: Schema Json
          description: Custom JSON Schema (draft-07) as string
        force_ocr:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Force Ocr
          description: Force OCR on all PDF pages
          default: false
        crop:
          anyOf:
          - type: string
          - type: 'null'
          title: Crop
          description: auto keeps every slip in frame; none sends the photo as taken
        scan_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Scan Id
          description: One id for one run of the picker. Lets the engine hold a plan's receipt ceiling across the several files of one scan, not just within one file.
      type: object
      required:
      - file
      title: Body_extract_endpoint_v1_extract_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ExtractResponse:
      properties:
        document_id:
          type: string
          title: Document Id
        document_type:
          type: string
          title: Document Type
        confidence:
          type: number
          title: Confidence
        extracted:
          additionalProperties: true
          type: object
          title: Extracted
        field_confidence:
          additionalProperties: true
          type: object
          title: Field Confidence
        sources:
          additionalProperties: true
          type: object
          title: Sources
          default: {}
        grounded_field_ratio:
          type: number
          title: Grounded Field Ratio
          default: 0.0
        warnings:
          items:
            type: string
          type: array
          title: Warnings
        pages_processed:
          type: integer
          title: Pages Processed
        processing_time_ms:
          type: integer
          title: Processing Time Ms
        retention:
          type: string
          title: Retention
        ocr:
          type: boolean
          title: Ocr
          default: false
        form_fields:
          type: integer
          title: Form Fields
          default: 0
        credits_remaining:
          anyOf:
          - type: integer
          - type: 'null'
          title: Credits Remaining
        processing_tier:
          type: string
          title: Processing Tier
          default: standard
        provider:
          additionalProperties: true
          type: object
          title: Provider
          default: {}
        privacy_note:
          type: string
          title: Privacy Note
          default: ''
        path:
          anyOf:
          - type: string
          - type: 'null'
          title: Path
        usage:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Usage
        receipts:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Receipts
        slip_count:
          type: integer
          title: Slip Count
          default: 1
      type: object
      required:
      - document_id
      - document_type
      - confidence
      - extracted
      - field_confidence
      - warnings
      - pages_processed
      - processing_time_ms
      - retention
      title: ExtractResponse
    Body_extract_batch_endpoint_v1_extract_batch_post:
      properties:
        files:
          items:
            type: string
            contentMediaType: application/octet-stream
          type: array
          title: Files
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Schema
      type: object
      required:
      - files
      title: Body_extract_batch_endpoint_v1_extract_batch_post
  securitySchemes:
    X-API-Key:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Your Mervext API key. Free key: POST /v1/keys/free (when open) or your purchased master/key. Header: X-API-Key: <key>'