Python SDK
Typed Python clients for web research and data pipelines.
Extract web content over HTTP. Add Markdown, HTML and asynchronous data jobs to the language and backend you already use.
Copy a Scraper API key from your dashboard.
Use cURL or the HTTP library in your backend.
Set GEONODE_SCRAPER_API_KEY, then request a page as Markdown.
curl https://scraper.geonode.io/v1/extract \
-H "X-Api-Key: $GEONODE_SCRAPER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"formats": ["markdown"],
"processing_mode": "sync"
}'Choose how content is returned and how the job runs.
Send your key with every request from your backend.
X-Api-Key: YOUR_API_KEYRequest Markdown or HTML; enable JS when needed.
"formats": ["markdown"],
"render_js": trueSubmit work, store the job ID and retrieve results.
"processing_mode": "async"
GET /v1/extract/{job_id}Connection details and the operations available over HTTP. Open an operation for its full schema and examples.
https://scraper.geonode.ioapplication/jsonPOST /v1/extractPOST /v1/batchPOST /v1/crawlPOST /v1/mapPOST /v1/searchExtraction supports sync and async modes. Batch and crawl return a job ID; poll for completion and paginate results. Webhooks can notify your service when a job finishes.
Job lifecycleEnable render_js when the page requires a browser. Rendering is slower and uses more credits. Keep API keys on your server; usage is charged to your Geonode account.
Extraction optionsHandle authentication, validation and balance errors explicitly. Respect Retry-After on rate limits. A timed-out submission may still have created a job; avoid blindly submitting it again.
Error handlingGet the full setup guide, authentication details and technical reference.
Extract webpage content as Markdown or HTML.
Process multiple URLs together with batch extraction.
Crawl a website and retrieve the resulting pages.
Discover website URLs before choosing what to extract.
Search the web for pages relevant to your query.
Track background jobs and receive completion notifications through webhooks.
# Submit an asynchronous extraction
curl https://scraper.geonode.io/v1/extract \
-H "X-Api-Key: $GEONODE_SCRAPER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"formats": ["markdown"],
"processing_mode": "async"
}'
# Set this to the job_id returned above
JOB_ID="YOUR_JOB_ID"
# Check status; read data once completed
curl "https://scraper.geonode.io/v1/extract/$JOB_ID" \
-H "X-Api-Key: $GEONODE_SCRAPER_API_KEY"HTTPS client
Keep API keys on the server or in your client’s credential store. Usage is charged to your Geonode plan.
Verify your X-Api-Key header.
Check the URL, field names and accepted values.
Check the chosen format and whether the page needs JS.
Inspect status before consuming async results.
Use environment variables for credentials.
Extract, batch, crawl and map solve different jobs.
Keep IDs and account for unsuccessful jobs.
Review concurrency and statistics.
Typed Python clients for web research and data pipelines.
Typed web data access for JavaScript and TypeScript agents.
Search, crawl and extract web data from your terminal.
Make a first request with your Geonode API key.