Scrapiq Extraction API

The Extraction API from Scrapiq — 1 operation(s) for extraction.

GitHub OpenAPI

Operations 1

POST /v1/extract Extract structured data from a URL #

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/scrapiq-io:scrapiq-io-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. 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

scrapiq-io-extraction-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Scrapiq Extraction API
  description: Turn any URL into clean, structured JSON for LLM/RAG pipelines. Submit a URL, optionally with a JSON schema, and get back clean text, markdown, or structured fields ready for fine-tuning or RAG ingestion.
  contact:
    name: Scrapiq
    url: https://github.com/NG-PR0JECT/scrapiq
  license:
    name: MIT
  version: 0.1.0
tags:
- name: Extraction
paths:
  /v1/extract:
    post:
      tags:
      - Extraction
      summary: Extract structured data from a URL
      description: 'Fetch a URL and return clean text, markdown, or structured fields.


        - **format=text**: clean plain text (boilerplate removed)

        - **format=markdown**: clean markdown with links

        - **format=json** (with schema): structured fields per the schema

        - **format=json** (no schema): wrapped raw text under `data.text`'
      operationId: extract_endpoint_v1_extract_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExtractRequest'
        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'
components:
  schemas:
    ExtractRequest:
      properties:
        url:
          type: string
          maxLength: 2083
          minLength: 1
          format: uri
          title: Url
          description: URL to fetch and extract from
        schema:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Schema
          description: Optional JSON schema describing fields to extract. If omitted, returns raw cleaned text.
        format:
          type: string
          enum:
          - json
          - text
          - markdown
          title: Format
          description: Output format. 'json' for structured extraction, 'text' for plain text, 'markdown' for clean markdown.
          default: json
        include_metadata:
          type: boolean
          title: Include Metadata
          description: Include page metadata (title, description, author, date) in the response.
          default: true
      type: object
      required:
      - url
      title: ExtractRequest
      description: Request to extract structured data from a URL.
    ExtractResponse:
      properties:
        url:
          type: string
          title: Url
        format:
          type: string
          title: Format
        data:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Data
          description: Structured data extracted according to the schema. None if format != 'json'.
        content:
          anyOf:
          - type: string
          - type: 'null'
          title: Content
          description: Cleaned text or markdown content. None if format == 'json'.
        metadata:
          anyOf:
          - $ref: '#/components/schemas/PageMetadata'
          - type: 'null'
        cached:
          type: boolean
          title: Cached
          default: false
        extraction_time_ms:
          type: integer
          title: Extraction Time Ms
      type: object
      required:
      - url
      - format
      - extraction_time_ms
      title: ExtractResponse
      description: Response with extracted data.
    PageMetadata:
      properties:
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        author:
          anyOf:
          - type: string
          - type: 'null'
          title: Author
        published_date:
          anyOf:
          - type: string
          - type: 'null'
          title: Published Date
        language:
          anyOf:
          - type: string
          - type: 'null'
          title: Language
        canonical_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Canonical Url
        word_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Word Count
      type: object
      title: PageMetadata
      description: Metadata about the fetched page.
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError