Ransack Fetch API

The Fetch API from Ransack — 1 operation(s) for fetch.

GitHub OpenAPI

Operations 1

POST /v1/fetch Fetch and extract one 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/ransack-tools:ransack-tools-fetch-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

ransack-tools-fetch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ransack REST Fetch API
  version: 1.0.0
  description: 'Versioned REST facade over the Ransack search/fetch/research tools. Auth: your API key as a Bearer token (same key as the /mcp endpoint). Limits: per-minute per key plus a daily quota; 429 responses include Retry-After.'
servers:
- url: /
security:
- bearerAuth: []
tags:
- name: Fetch
paths:
  /v1/fetch:
    post:
      summary: Fetch and extract one URL
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Fetch'
      responses:
        '200':
          description: Extracted page content
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolPayload'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Fetch
      operationId: postV1Fetch
      x-operation-id-source: derived
components:
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Per-minute or daily limit exceeded. Retry-After header is set.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    ToolPayload:
      description: 'The wrapped tool''s own JSON output, or {content: string} for markdown output.'
      type: object
    Fetch:
      properties:
        url:
          description: URL to fetch and extract
          minLength: 1
          title: Url
          type: string
        max_chars:
          default: 200000
          description: Output size cap
          maximum: 5000000
          minimum: 100
          title: Max Chars
          type: integer
        format:
          default: markdown
          pattern: ^(markdown|json|hybrid)$
          title: Format
          type: string
        must_contain:
          default: ''
          description: Post-fetch verdict probe for this phrase
          title: Must Contain
          type: string
      required:
      - url
      type: object
    Error:
      type: object
      properties:
        code:
          type: integer
        message:
          type: string
        retry_after_s:
          type: integer
        limit:
          type: integer
        scope:
          type: string
          enum:
          - per_minute
          - daily
        remaining:
          type: integer
        reset_at:
          type: string
      required:
      - code
      - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer