Expand AI logo
DocsAPI ReferenceAPI Reference
Login

API Reference

Getting Started

API ReferenceRate LimitingError Handling

Endpoints

BatchedFetchFetch JsonFetch SearchGet Batched

Get Batched Fetch status and paginated results.

Authorization

x-expand-api-key<token>

In: header

Path Parameters

Query Parameters

Response Body

application/json

Empty

application/json

application/json

GET
/v1/fetch/batched/{id}
id*nonEmptyString

a non empty string

Length1 <= length
limit?string

Maximum number of results per page (default 10, max 100)

offset?string

Offset from start (default 0)

include?string

JSON-encoded Include Options specifying which content to extract. Defaults to Markdown and metadata. screenshot, summary, json, and appendix are not supported for Batched Fetch requests.

application/json

application/json

application/json

application/json

{
  "id": "string",
  "status": "QUEUED",
  "batchedStatus": "QUEUED",
  "totalUrls": 0,
  "results": [
    {
      "data": {
        "response": {
          "url": "https://stripe.com/docs/api",
          "requestedUrl": "https://www.stripe.com/docs/api",
          "originStatusCode": 
















































































































































{
  "issues": [
    {
      "_tag": "Pointer",
      "path": [
        "string"
      ],
      "message": "string"
    }
  ],
  "message": "string",
  "_tag": "HttpApiDecodeError"
}
{
  "reason": "InvalidApiKey",
  "description": "string",
  "_tag": "AuthFailed"
}
{
  "_tag": "PayloadTooLarge"
}
{
  "_tag": "TooManyRequests"
}
{
  "_tag": "InternalError"
}
{
  "_tag": "ServiceUnavailable"
}
200
,
"redirectStatusCode": 301,
"headers": {
"content-type": "text/html; charset=utf-8"
}
},
"meta": {
"title": "Stripe API Reference",
"description": "Complete reference for the Stripe API.",
"canonicalUrl": "https://stripe.com/docs/api",
"language": "en",
"charset": "utf-8",
"favicon": "/favicon.ico",
"icons": [
{
"href": "/favicon.ico",
"rel": "icon",
"type": "image/png",
"sizes": "32x32"
}
],
"openGraph": {
"title": "Stripe | Payment Processing Platform",
"description": "Online payment processing for internet businesses.",
"type": "website",
"url": "https://stripe.com",
"siteName": "Stripe",
"locale": "en_US",
"images": [
{
"url": "https://example.com/og-image.png",
"width": 1200,
"height": 630,
"alt": "Product screenshot showing dashboard"
}
]
},
"twitter": {
"card": "summary",
"site": "@stripe",
"creator": "@johndoe",
"title": "Stripe API Reference",
"description": "Complete reference documentation for the Stripe API.",
"image": "https://stripe.com/twitter-card.png"
}
},
"json": [
{
"property1": "string",
"property2": "string"
}
],
"snapshotId": "string",
"html": "<html><body><h1>Welcome to our API</h1></body></html>",
"markdown": "# API Documentation\n\nWelcome to our API. This guide will help you get started...",
"screenshot": {
"url": "https://s3.amazonaws.com/bucket/snapshots/abcd/screenshot.jpeg?X-Amz-Signature=...",
"fullPage": true
},
"summary": "This page describes the API documentation for Stripe, including authentication methods...",
"search": {
"query": "string",
"snippets": [
{
"type": "text",
"source": "markdown",
"text": "string",
"json": null,
"score": 0,
"location": {
"markdownBlockId": "string",
"nodeIds": [
0
],
"stateJsonSourceId": 0,
"jsonPath": "string"
}
}
],
"meta": {
"durationMs": 0,
"sources": [
{
"source": "markdown",
"chunkCount": 0,
"batchCount": 0,
"ranker": "zeroentropy",
"fallback": true,
"fallbackReason": "timeout",
"durationMs": 0
}
]
}
},
"links": [
{
"url": "https://example.com/page",
"text": "Click here"
}
],
"appendix": "string",
"renderEngines": {
"capture": "rust",
"markdown": "rust",
"tree": "rust"
},
"captureTelemetry": {
"requestedStyleMode": "native_default",
"selected": "rust",
"actual": "rust",
"actualStyleMode": "compat_full",
"rolloutApplied": true,
"preparedSessionHit": true,
"nativePoolHit": true,
"preparedPageHit": true,
"nativePoolCapacity": 3,
"nativePoolProfile": "default",
"poolHit": true,
"connectMs": 0,
"warmConnectionAgeMs": 17,
"iconBackendDecision": "cpu"
},
"assets": [
{
"id": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"kind": "data-url",
"placeholder": "expand-asset:data-url:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"archiveKey": "data-url:sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"mimeType": "image/svg+xml",
"sha256": "sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"bytes": 312
}
],
"blocked": {
"blockedType": "botProtection"
}
}
}
],
"pagination": {
"total": 0,
"limit": 0,
"offset": 0,
"hasMore": true
}
}