scrape1 creditFetch one URL. Markdown, JSON, HTML or a screenshot.
Search the web. Optionally scrape every result in the same call. Five credits, plus one per scraped result.
search issues a web query through a backend provider (DuckDuckGo HTML by default; SearchAPI/Serper as a v1.5 premium upgrade). It returns the top N results with title, URL and snippet.
Set scrape_results: true and Stekpad runs the scrape verb against each result and merges the markdown into the response. This is the verb most-used by Claude agents — it is the cheapest path to current web context inside an MCP call.
Pick your language. Every snippet is a real, runnable example.
curl -X POST https://api.stekpad.com/v1/search \ -H "Authorization: Bearer stkpd_live_..." \ -H "Content-Type: application/json" \ -d '{ "query": "best project management tools 2026", "num_results": 10, "scrape_results": true, "scrape_options": { "formats": ["markdown"] }, "country": "US", "language": "en" }'| Name | Type | Required | Description |
|---|---|---|---|
| query | string | required | The search query. |
| num_results | int | optional | Default 10. Max 50. |
| scrape_results | boolean | optional | If true, runs scrape on each result. |
| scrape_options | object | optional | Same shape as /v1/scrape. |
| country | string | optional | ISO country code. Default US. |
| language | string | optional | ISO language code. Default en. |
| dataset | object | optional | Land results as rows in a table dataset. |
{ "run_id": "run_01HZ...", "query": "best project management tools 2026", "results": [ { "position": 1, "url": "https://example.com/best-pm-tools", "title": "The Best Project Management Tools of 2026", "snippet": "We tested 30 tools...", "scrape": { "markdown": "# The Best...\n..." } } ], "credits_charged": 15}| Code | When |
|---|---|
| query_too_short | Query under 2 characters. |
| search_provider_unavailable | The backend search provider rate-limited us. |
| target_blocked | A specific result could not be scraped. The other results still return. |
Every error includes a code, a human message, and a guidance field with the exact action to take.
Get an API key, paste the curl, watch the row land in your dataset.