Overview
Web Scraping API with built-in proxies and JS rendering
WebScraping.AI is a development API from webscraping.ai. Requests are authenticated with an API key. It is served over HTTPS and allows browser requests (CORS). Its OpenAPI description documents 4 endpoints.
At a glance
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Yes
- Category
- Development
- Base URL
https://api.webscraping.ai- Version
- 2.0.7
- Endpoints
- 4
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-06
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.webscraping.ai/account" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://api.webscraping.ai/account", {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.webscraping.ai/account",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /account | Information about your account calls quota |
| GET | /html | Page HTML by URL |
| GET | /selected | HTML of a selected page area by URL and CSS selector |
| GET | /selected-multiple | HTML of multiple page areas by URL and CSS selectors |
Questions
Does the WebScraping.AI API need an API key?
Yes. The WebScraping.AI API uses API key authentication; the documentation explains how to get credentials.
Can I call the WebScraping.AI API from the browser?
Yes. The WebScraping.AI API sends CORS headers, so a web page can call it directly with fetch().
Does the WebScraping.AI API support HTTPS?
Yes, the WebScraping.AI API is served over HTTPS.
How many endpoints does the WebScraping.AI API have?
Its OpenAPI description lists 4 endpoints in version 2.0.7. All of them are shown on this page.
What are alternatives to the WebScraping.AI API?
Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.
Similar development APIs
Compare alternatives →Cloudflare
DevelopmentManage DNS, CDN, Workers and other services; documented with an official OpenAPI 3.0 spec
Azure DevOps
DevelopmentThe Azure DevOps basic components of a REST API request/response pair
IPify
DevelopmentA simple IP Address API
App Store Connect API
DevelopmentThe data structure that represents an app store connect api resource.
StackExchange
DevelopmentQ&A forum for developers
IPinfo
DevelopmentAnother simple IP Address API
Listed from public-apis (MIT), public-apis database (MIT), APIs.guru (CC0).