Scrapfly · Schema
Scrapfly Scrape Response
Schema for the response returned by the Scrapfly Scrape API
Artificial IntelligenceData ExtractionScreenshotsWeb ScrapingProxiesBrowser Automation
Properties
| Name | Type | Description |
|---|---|---|
| result | object | Scrape result data |
| context | object | Request context and billing metadata |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://api-evangelist.github.io/scrapfly/json-schema/scrapfly-scrape-response-schema.json",
"title": "Scrapfly Scrape Response",
"description": "Schema for the response returned by the Scrapfly Scrape API",
"type": "object",
"properties": {
"result": {
"type": "object",
"description": "Scrape result data",
"properties": {
"content": {
"type": "string",
"description": "Scraped page content in the requested format (HTML, markdown, text, or JSON)"
},
"content_type": {
"type": "string",
"description": "MIME type of the returned content",
"examples": ["text/html", "text/markdown", "application/json"]
},
"url": {
"type": "string",
"format": "uri",
"description": "Final URL after any redirects were followed"
},
"status_code": {
"type": "integer",
"description": "HTTP status code of the scraped page",
"minimum": 100,
"maximum": 599
},
"cookies": {
"type": "array",
"description": "Cookies set by the scraped page",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Cookie name"
},
"value": {
"type": "string",
"description": "Cookie value"
},
"domain": {
"type": "string",
"description": "Cookie domain"
},
"path": {
"type": "string",
"description": "Cookie path"
},
"secure": {
"type": "boolean",
"description": "Whether cookie requires HTTPS"
},
"http_only": {
"type": "boolean",
"description": "Whether cookie is HTTP-only"
}
}
}
},
"request_headers": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "HTTP headers sent with the scrape request"
},
"response_headers": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "HTTP headers received in the scrape response"
},
"screenshots": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Screenshot data keyed by selector name or 'main'"
},
"dns": {
"type": "object",
"description": "DNS information for the target domain",
"properties": {
"a_records": {
"type": "array",
"items": { "type": "string" }
},
"mx_records": {
"type": "array",
"items": { "type": "string" }
}
}
},
"ssl": {
"type": "object",
"description": "SSL/TLS certificate information",
"properties": {
"subject": { "type": "string" },
"issuer": { "type": "string" },
"valid_from": { "type": "string", "format": "date-time" },
"valid_to": { "type": "string", "format": "date-time" },
"protocol": { "type": "string" }
}
},
"extracted_data": {
"type": "object",
"description": "Structured data extracted via template or LLM prompt",
"additionalProperties": true
}
},
"required": ["content", "url", "status_code"]
},
"context": {
"type": "object",
"description": "Request context and billing metadata",
"properties": {
"api_cost": {
"type": "integer",
"description": "Number of credits consumed by this request"
},
"remaining_credits": {
"type": "integer",
"description": "Remaining API credits in the account"
},
"attempts": {
"type": "integer",
"description": "Number of retry attempts made",
"minimum": 1
},
"asp_enabled": {
"type": "boolean",
"description": "Whether Anti Scraping Protection was used"
},
"proxy_country": {
"type": "string",
"description": "Country of the proxy used for this request"
}
}
}
},
"required": ["result", "context"]
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/scrapfly-scrape-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.