OpenGraph.io

Web Scraper API

Fetch raw HTML from any website with full JavaScript rendering and advanced proxy support. Bypass bot detection and scrape dynamic content reliably.

Endpoint

HTTP
GET https://opengraph.io/api/1.1/scrape/{encoded_url}?app_id=YOUR_APP_ID

Parameters

Path Parameters

ParameterTypeDescription
encoded_urlstringRequired. URL-encoded target URL

Query Parameters

ParameterTypeDefaultDescription
app_idstring-Required. Your API key
full_renderbooleanfalseEnable JavaScript rendering (required for SPAs)
cache_okbooleantrueAllow cached results
use_proxybooleanfalseUse standard datacenter proxy
use_premiumbooleanfalseUse residential proxy (better for protected sites)
use_superiorbooleanfalseUse mobile proxy (best for heavily protected sites)
accept_langstringen-USLanguage header for localized content

Example Request

curl "https://opengraph.io/api/1.1/scrape/https%3A%2F%2Fexample.com?app_id=YOUR_APP_ID"

Example Response

Response
{
  "htmlContent": "<!DOCTYPE html><html>...</html>",
  "requestInfo": {
    "redirects": 0,
    "host": "example.com",
    "responseCode": 200,
    "responseContentType": "text/html"
  }
}

Proxy Options

For sites with bot protection, use our proxy options to bypass blocks. See the Proxy Options guide for details on proxy types and credit costs.

Use Cases

  • Content aggregation and monitoring
  • Market research and competitive analysis
  • Data validation and verification
  • SEO auditing
  • Price monitoring

MCP Tool

This endpoint is available as the Scrape tool in the OpenGraph MCP Server. Your AI assistant can scrape pages directly without writing any code.

Get started with MCP in 2 minutes →

Learn more about MCP integration →

Related