Skip to content

Getting Started

Parsium extracts structured data from any webpage. You can build custom parsers in the dashboard or use prebuilt endpoints for popular platforms like Instagram, YouTube, TikTok, LinkedIn, and more.

  1. Sign up at parseium.com
  2. Go to API Keys in the dashboard
  3. Create a new key

Pass your API key via header or query parameter:

Terminal window
# Header (recommended)
curl -H "X-API-Key: your_key" https://api.parseium.com/v1/credits
# Query parameter
curl "https://api.parseium.com/v1/credits?api_key=your_key"

If you’ve created a parser in the dashboard, you can scrape any URL:

const res = await fetch(
"https://api.parseium.com/v1/scrape/your_parser_id?url=https://example.com",
{ headers: { "X-API-Key": "your_key" } }
);
const data = await res.json();
import requests
res = requests.get(
"https://api.parseium.com/v1/scrape/your_parser_id",
params={"url": "https://example.com"},
headers={"X-API-Key": "your_key"},
)
data = res.json()

No parser needed — use prebuilt endpoints directly:

const res = await fetch(
"https://api.parseium.com/v1/instagram-profile?username=natgeo",
{ headers: { "X-API-Key": "your_key" } }
);
const profile = await res.json();
console.log(profile.metrics.followers);
import requests
res = requests.get(
"https://api.parseium.com/v1/instagram-profile",
params={"username": "natgeo"},
headers={"X-API-Key": "your_key"},
)
profile = res.json()
print(profile["metrics"]["followers"])
Terminal window
curl -H "X-API-Key: your_key" https://api.parseium.com/v1/credits
{
"creditBalance": 4850,
"concurrency": 5
}

All errors return JSON with an error field. Key status codes:

CodeMeaning
401Invalid or missing API key
402Insufficient credits
404Parser or resource not found
413HTML exceeds 16 MB
429Rate limit exceeded (check Retry-After header)
502Failed to fetch target URL (scrape only)

Scrape and prebuilt endpoints return credit info in headers:

  • X-Credits-Used — credits consumed by this request
  • X-Credits-Remaining — remaining balance
  • Browse the API Reference for full endpoint details
  • Explore prebuilt APIs for Instagram, YouTube, TikTok, LinkedIn, Reddit, and more
  • Fetch full response schemas programmatically via GET /v1/apis/{endpoint-name}