Skip to content

WebScraping.AI API

by webscraping.ai

API keyHTTPSCORSDevelopment
Open documentation ↗

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
Spec updated
2023-03-06

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://api.webscraping.ai/account" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
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);
Python
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

MethodPathWhat it does
GET/accountInformation about your account calls quota
GET/htmlPage HTML by URL
GET/selectedHTML of a selected page area by URL and CSS selector
GET/selected-multipleHTML 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.

Compare alternatives →

Listed from public-apis (MIT), public-apis database (MIT), APIs.guru (CC0).