Context for AI
Structured extract
Turn a product, company, listing, or place into clean structured JSON — fields already parsed, no scraping logic on your side. Runs as an async job; you only pay for records returned.
Available scrapers
Fetch the live list any time from GET /v1/extract/scrapers.
| Scraper | Category | Input |
|---|---|---|
| amazon-product | E-commerce | { "url": "https://www.amazon.com/dp/<ASIN>" } |
| walmart-product | E-commerce | { "url": "https://www.walmart.com/ip/<id>" } |
| crunchbase-company | Business | { "url": "https://www.crunchbase.com/organization/<slug>" } |
| g2-product | Business | { "url": "https://www.g2.com/products/<slug>/reviews" } |
| google-maps-business | Local | { "url": "https://www.google.com/maps/place/..." } |
| zillow-property | Real-estate | { "url": "https://www.zillow.com/homedetails/..." } |
Run an extraction
POST
/v1/extractPass a scraper name and its input (usually a URL). Returns a job id; poll GET /v1/extract/{id} until completed. Set an optional limit (max records, default 100) to bound cost.
Request
curl https://api.apexapi.dev/v1/extract \
-H "Authorization: Bearer ak-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"scraper": "amazon-product",
"input": { "url": "https://www.amazon.com/dp/B09B8V1LZ3" }
}'Completed response
{
"id": "a7c1…",
"status": "completed",
"scraper": "amazon-product",
"record_count": 1,
"cost": 0.01,
"records": [
{ "title": "…", "price": 29.99, "rating": 4.6, "reviews_count": 1284, "…": "…" }
]
}Examples by scraper
Every scraper uses the same request shape — only the scraper name and the input URL change.
amazon-product
{ "scraper": "amazon-product",
"input": { "url": "https://www.amazon.com/dp/B09B8V1LZ3" } }walmart-product
{ "scraper": "walmart-product",
"input": { "url": "https://www.walmart.com/ip/587451489" } }crunchbase-company
{ "scraper": "crunchbase-company",
"input": { "url": "https://www.crunchbase.com/organization/openai" } }g2-product
{ "scraper": "g2-product",
"input": { "url": "https://www.g2.com/products/stripe/reviews" } }google-maps-business
{ "scraper": "google-maps-business",
"input": { "url": "https://www.google.com/maps/place/Blue+Bottle+Coffee" } }zillow-property
{ "scraper": "zillow-property",
"input": { "url": "https://www.zillow.com/homedetails/12345_id/" } }Pricing
$0.01 per record returned. Failed or empty extractions are free. A job is capped at your limit, so the most one call can cost is limit × $0.01.
Notes
- • Only business, commerce, local, and real-estate scrapers are offered. Personal-profile scraping is not supported.
- • Need raw pages instead of structured fields? Use /v1/scrape or /v1/crawl.
- • Subject to our Acceptable Use Policy.