Scrape Examples
Executable examples for the current single-URL Scrape API. They use the production hostname and standard Bearer authentication.
No bulk route in this release
Scrape accepts one
url per request. There is no /api/v1/scrape/bulk endpoint; coordinate multiple requests in your own worker.PowerShell 5.1 — serialize JSON before curl.exePowerShell
$body = @{ url = 'https://example.com'; extract_options = @('title', 'text') } | ConvertTo-Json -Compress
curl.exe -X POST "https://search.venym.io/api/v1/scrape" -H "Authorization: Bearer $env:VENYM_SEARCH_API_KEY" -H "Content-Type: application/json" --data-raw $bodyStatic Page
Beginner5 creditsExtract title, text, links, and metadata from a normal HTML page.
Static Page implementation
curl -X POST https://search.venym.io/api/v1/scrape \
-H "Authorization: Bearer $VENYM_SEARCH_API_KEY" \
-H "Content-Type: application/json" \
--data '{"url":"https://example.com","extract_options":["title","text","links","metadata"]}'Controlled Internal Crawl
AdvancedUp to 11 creditsFollow internal links from one page. This capability requires a Unicorn plan.
Controlled Internal Crawl implementation
curl -X POST https://search.venym.io/api/v1/scrape \
-H "Authorization: Bearer $VENYM_SEARCH_API_KEY" \
-H "Content-Type: application/json" \
--data '{"url":"https://example.com","extract_options":["title","text"],"follow_internal_links":true,"max_pages":3}'Contact Extraction
Intermediate5 creditsExtract contacts from returned text when the account has Starter access or higher.
Contact Extraction implementation
curl -X POST https://search.venym.io/api/v1/scrape \
-H "Authorization: Bearer $VENYM_SEARCH_API_KEY" \
-H "Content-Type: application/json" \
--data '{"url":"https://example.com","extract_options":["title","text"],"include_contacts":true}'