A webscraping api takes a URL you send and returns the page, or data parsed from it, while the provider handles proxies, retries, CAPTCHAs and, when you ask for it, a headless browser. It is not a crawler that decides which links to follow, and it is not a scraper you host yourself: you still choose the URLs and extract the fields you need. The workflow is short: sort your URLs, send a test request, set rendering and output, check every response before using it, and only then scale up.
Prepare the URL list before the first call
Most wasted credits come from sending every URL through the most expensive settings. Spend ten minutes sorting your list first. Open a handful of pages in a browser, view the page source, and look for the data you need.
- Plain HTML: the value appears in the page source. A basic request is enough.
- JavaScript-rendered: the source is mostly empty and the data appears after scripts run. These need a headless browser.
- Protected: the page works in your browser but returns a block or CAPTCHA to scripts. Expect proxy options to matter.
- Geo-specific: prices, language or availability change by country. Note the location you need.
Also read each site’s terms of use and its robots.txt file (the format is defined in IETF RFC 9309). If you collect anything that identifies a person, check the GDPR text on EUR-Lex or take legal advice. An API changes how you fetch pages, not whether you are allowed to use the data.
Make the first request and read the response
Start with a trial rather than production code. Scrapering, for example, offers trial credits with a ready API key and a Playground where you can try its SERP API and Universal API before writing anything. Confirm the current trial length and credit amount on the pricing page, since those terms can change.
Send one plain-HTML URL first. A sample request goes to an endpoint on app.scrapering.com with your key and the target URL, and the response returns the HTML content and a status. Note two separate things: the status of the API call itself, and the status of the target site that the provider reports. A successful API call can still carry a target-side 403 or a CAPTCHA page in the body.
Set rendering, proxies and output format
Take the same 1,000 product URLs and the same output schema (name, price, currency, availability), and run them in two situations.
| Criterion | Plain-HTML price pages | JavaScript-rendered catalog |
|---|---|---|
| Request type | Basic fetch | Headless browser rendering |
| Credits per call | Lowest tier; verify in the docs | Usually a multiple of the basic request; verify in the docs |
| Output | HTML already contains the fields | HTML only contains fields after the page renders |
| Main check | Field present and correct | Page fully loaded, not a skeleton or placeholder |
The volume is identical, yet the budget and the failure modes differ. On the first catalog, a request without rendering will return a quick, cheap, useless page. On the second, turning rendering on for every URL multiplies the bill. So test one URL of each type with and without rendering and keep the cheapest setting that returns the fields.
Add proxies and geotargeting only where needed. If a page works from a default location, residential or country-specific routing is extra cost with no benefit. For output, ask for raw HTML if you have working CSS selectors, or structured JSON if the provider offers parsing for your target.
Check the result before using it
A returned page is not the same as correct data. Build a validation step that runs on every response, not on a sample.
- Confirm the target HTTP status is 200, not a redirect to a login or error page.
- Check that the body length is within a normal range for that page type. Very short bodies often mean a block or an unrendered shell.
- Search for CAPTCHA or “access denied” text.
- Confirm that every required field exists and is not empty.
- Check formats: currency symbol, decimal separator, date.
- Record a timestamp, so stale cached content can be spotted later.
Then compare ten results against the live pages by eye. Automated checks catch structure problems, but only a human comparison catches a price that is parsed from the wrong element.
Scale the run and control cost
Move to production in steps: 50 URLs, then a few hundred, then the full list. At each step, watch the credits used per successful page rather than per request. Whether failed attempts are billed depends on the provider; some charge for them and some bill only successes, so read the rule before estimating. Retries matter here: a schedule of 60,000 checks can become 90,000 or 120,000 billable attempts if a share of requests fails and is repeated.
Log the URL, status, retry count, credits spent and timestamp for each call. Keep concurrency within your plan’s limit and add a capped retry with a pause instead of looping on failures. A page that fails three times usually needs different settings, not a fourth attempt. Higher plans lower the cost per request on Scrapering according to its site, so recheck the plan against your real monthly volume once you have measured it.
Limits and what to re-verify
A scraping API reduces blocking and infrastructure work; it does not guarantee access to every page, perfect accuracy, or permission to reuse content. Success rates vary by site and by run, so measure your own. Before acting, re-check the provider’s current prices, credit multipliers, trial terms and concurrency limits on its official pricing and documentation pages, and review each target site’s terms, robots.txt and any data-protection rules that apply to you. This article does not cover legal advice or specific plan figures.
