Use case

Web scraping with proxies

Scraping at scale usually means more than fetching a URL: pages need JavaScript rendering, requests fail and need retrying, and IPs need rotating to avoid slowdowns. The Web Scraper API takes a URL and returns HTML or parsed data, with proxies, retries and rendering handled on our side, so your code stays short.

Recommended setup

What is the recommended setup for web scraping?

Web Scraper API. Send a URL and get clean HTML or parsed data back, with proxies, retries and rendering handled for you.

Product
Web Scraper API, billed per 1,000 successful requests
Rendering
On for JavaScript pages, off for static HTML to save time
Locations
Country parameter on each request
Rate limit
Up to 300 requests per minute per account
from $0.72 per 1,000 requestsView Web Scraper API
Step by step

How do you set up web scraping step by step?

  1. Pick the pages you need and decide whether they require JavaScript rendering.

  2. Create an API token in your dashboard and keep it in an environment variable.

  3. Send a request with the target URL, the country and the render option.

  4. Parse the returned HTML or JSON in your own code, or ask for parsed fields where supported.

  5. Queue requests so you stay under the 300 per minute rate limit, and retry only on server errors.

  6. Log the cost per record, and move steady, easy targets to plain proxies if it saves money.

Code

What does a working web scraping request look like?

Replace YOUR_TOKEN with your own token and change the country code or target URL to match your job.

curl -X POST "https://api.firstproxy.shop/v1/scrape" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://store.example.com/product/12345", "country": "us", "render": true}'
Good practice

How do you get better results from web scraping?

  • Turn rendering off for server-rendered pages, since it is faster and less likely to time out.

  • Set a generous client timeout for rendered pages, as they take longer than plain fetches.

  • Cache results you request often so you pay once for each page version.

  • Use proxies directly when you need full control of cookies and sessions across many requests.

Locations and tools

Which locations and setup guides fit web scraping?

The country field accepts any supported two-letter code. Pick the market whose version of the page you need.

FAQ

Web scraping questions and answers

See all questions
What do I get back from the API?

The page HTML after rendering if you asked for it, or structured data when parsing is available for the target. The response includes the status code of the page.

Am I charged for failed requests?

No. Billing counts successful requests only, per 1,000.

What is the rate limit?

The API accepts up to 300 requests per minute per account. Queue your jobs to stay within it.

Ready to run web scraping?

Create an account, add a balance and connect with the settings above.