OpenGraph.io

API Reference

Complete documentation for all OpenGraph.io API endpoints. Each endpoint supports authentication via App ID and offers various options for caching, rendering, and proxy usage.

Base URL

All API requests are made to:

https://opengraph.io/api/3.0/

Migrating from v1.1? The legacy base URL https://opengraph.io/api/1.1/ is deprecated but still functional. v3.0 enables auto_proxy, auto_render, and retry by default for better results out of the box.

Endpoints

Common Parameters

These parameters work across most endpoints. Defaults shown are for v3.0.

ParameterTypev3.0 DefaultDescription
app_idstring-Required. Your API key from the dashboard.
cache_okbooleantrueAllow cached results.
max_cache_agenumber432000Maximum cache age in seconds.
auto_proxybooleantrueAutomatically select optimal proxy. v1.1 default: false
auto_renderbooleantrueAutomatically enable JS rendering when needed. v1.1 default: false
retrybooleantrueAuto-retry failed requests with proxy escalation. v1.1 default: false
full_renderbooleanfalseForce JavaScript rendering for SPAs.
use_proxybooleanfalseUse standard proxy.
use_premiumbooleanfalseUse residential proxy.
use_superiorbooleanfalseUse mobile proxy.
accept_langstringen-USPreferred language header (e.g., "en-US")

Authentication

All requests require an app_id parameter. Get your free API key at dashboard.opengraph.io.

See the Authentication guide for details.

URL Encoding

Important: URLs passed in the path must be URL-encoded. For example, https://github.com becomes https%3A%2F%2Fgithub.com.

See the URL Encoding guide for language-specific examples.

Rate Limits

PlanConcurrent Requests
Free1
Developer5
Production25
Enterprise100

See Rate Limits for more details.

MCP Integration

All API endpoints are also available through the OpenGraph MCP Server for AI assistants like Claude, Cursor, and VS Code.

Get started with MCP in 2 minutes →

Learn more about MCP integration →