Free tier — 100 requests/month

Extract metadata from any URL.
One API call.

Get titles, descriptions, Open Graph tags, Twitter Cards, favicons, and more. Build link previews in minutes, not days.

Try it now

Integrate in minutes

curl
curl "https://api.shanecode.org/v1/extract\
  ?url=https://github.com" \
  -H "X-API-Key: msk_your_key_here"
JavaScript
const res = await fetch(
  'https://api.shanecode.org/v1/extract?url=https://github.com',
  { headers: { 'X-API-Key': 'msk_your_key' } }
);
const { data } = await res.json();
Python
import requests

r = requests.get(
    "https://api.shanecode.org/v1/extract",
    params={"url": "https://github.com"},
    headers={"X-API-Key": "msk_your_key"}
)
data = r.json()["data"]
Go
req, _ := http.NewRequest("GET",
  "https://api.shanecode.org/v1/extract?url=https://github.com",
  nil)
req.Header.Set("X-API-Key", "msk_your_key")
resp, _ := http.DefaultClient.Do(req)

Simple pricing

Start free. Upgrade when you need more.

Free

$0

100 requests/month

  • All metadata fields
  • 1hr response caching
  • Community support
Popular

Hobby

$9/mo

1,000 requests/month

  • Everything in Free
  • Priority support

Growth

$29/mo

10,000 requests/month

  • Everything in Hobby
  • Webhook notifications

Business

$79/mo

100,000 requests/month

  • Everything in Growth
  • Dedicated support

API Reference

GET /v1/extract

Extract metadata from a URL.

Parameters
url string, required The URL to extract metadata from
Headers
X-API-Key string, required Your API key (starts with msk_)
Response
{
  "data": {
    "url": "https://github.com",
    "domain": "github.com",
    "title": "GitHub: Let's build from here",
    "description": "GitHub is where over 100 million developers...",
    "canonical_url": "https://github.com",
    "favicon": "https://github.com/favicon.ico",
    "language": "en",
    "og": {
      "title": "GitHub: Let's build from here",
      "description": "GitHub is where over 100 million developers...",
      "image": "https://github.githubassets.com/assets/campaign-social.png",
      "type": "website",
      "site_name": "GitHub"
    },
    "twitter": {
      "card": "summary_large_image",
      "title": "GitHub: Let's build from here",
      "image": "https://github.githubassets.com/assets/campaign-social.png",
      "site": "@github"
    },
    "response_time_ms": 245
  },
  "cached": false
}

GET /v1/usage

Check your current month's usage and remaining quota.

{
  "plan": "starter",
  "used": 1234,
  "limit": 10000,
  "remaining": 8766
}

Start extracting metadata

Free tier. No credit card. API key in 30 seconds.

Get Your API Key