Skip to Content

Get URL Content

Extract content from any web page using our powerful scraping API.

Endpoint

GET /v1/web/scrape

Query Parameters

ParameterTypeRequiredDescription
urlstringYesURL of the webpage to scrape
noLinksbooleanNoWhether to include Markdown links in the response
langstringNoWhat language to request the content in, if the website supports multiple languages. ISO 639-1 code. Default: en

Example Request

curl 'https://api.supadata.ai/v1/web/scrape?url=https://example.com' \ -H 'x-api-key: YOUR_API_KEY'

Response Format

{ "url": "string", // The URL that was scraped "content": "string", // The content extracted from the URL "name": "string", // The name of the webpage "description": "string", // A description of the webpage "ogUrl": "string", // Open Graph URL for the webpage "countCharacters": "number", // The number of characters in the content "urls": [ "string" // List of URLs found on the webpage ] }

Error Codes

The API returns HTTP status codes and error codes. See this page for more details.

Respect robots.txt and website terms of service when scraping web content.

Pricing

  • 1 transcript request = 1 credit