Extract structured data from any website using our powerful and simple API. Support for products, articles, jobs, and more.
Sign up and generate an API key from your dashboard
Send a POST request to /api/extract
with your target URL
Receive clean, structured JSON data ready to use in your application
Extract data from a single product page
type: "product"
Extract products from a listing page
type: "productList"
Extract data from an article or blog post
type: "article"
Extract articles from a listing page
type: "articleList"
Extract data from a job posting
type: "jobPosting"
Extract jobs from a listing page
type: "jobPostingNavigation"
Extract Google search results
type: "serp"
All API requests require authentication using your API key. Pass it in the Authorization
header:
Authorization: Bearer YOUR_API_KEY
Alternative: You can also pass the API key as a query parameter ?apiKey=YOUR_API_KEY
/api/extract
Extract structured data from any website
url
requiredstringThe URL of the page to extract data from
type
requiredstringThe type of data to extract:
product | productList | productNavigation | article | articleList | articleNavigation | forumThread | jobPosting | jobPostingNavigation | pageContent | serp
source
optional | stringExtraction method (default: browserHtml):
httpResponseBody
- Fast & cheap, works for most sitesbrowserHtmlOnly
- Better for JavaScript-heavy sitesbrowserHtml
- Best quality with visual featurescountry
optional | string2-letter ISO country code for geolocation (e.g., FR, US, GB, DE
)
{
"success": true,
"data": {
// Extracted data structure depends on the type
// See examples below for each type
},
"metadata": {
"extractionType": "product",
"source": "browserHtml",
"country": "FR",
"processingTime": 2341,
"creditsUsed": 2,
"creditsRemaining": 98
}
}
curl -X POST "https://fetchify.app/api/extract" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/product/123",
"type": "product",
"source": "browserHtml"
}'
Credits are automatically deducted based on the extraction type and method:
Extraction Type | httpResponseBody | browserHtmlOnly | browserHtml |
---|---|---|---|
product, article, jobPosting | 1 credit | 2 credits | 3 credits |
productList, articleList | 2 credits | 3 credits | 5 credits |
serp (non-AI) | 1 credit | 1 credit | 2 credits |
Invalid or missing API key
Insufficient credits
Rate limit exceeded (max 60 requests per minute)
Extraction failed or unexpected error occurred