Integration guide
Open Graph API for Astro
Astro sites with server-side link preview extraction.
Why MetaFetch for Astro?
Building link previews in Astro usually means parsing HTML yourself, handling redirects, and maintaining scrapers. MetaFetch handles all of that through a single REST endpoint.
Integrate in 5 minutes
Replace YOUR_API_KEY with a key from your . Free tier includes 500 requests per month. dashboard. Free tier includes 500 requests per month.
curl "https://www.metafetch.dev/api/v1/preview?url=https://example.com" \ -H "Authorization: Bearer YOUR_API_KEY"
Example response
{
"success": true,
"data": { "title": "...", "image": "...", "favicon": "..." }
}FAQ — Astro
How do I integrate MetaFetch with Astro?
Sign up for a free API key, then call GET /api/v1/preview with your target URL. MetaFetch returns structured JSON ready to embed.
What is the rate limit?
Free: 500 req/mo. Pro: 10,000 req/mo at 60 req/min. Business: 100,000 req/mo.
Can I use MetaFetch in production?
Yes. Redis caching, hashed API keys, HTTPS-only traffic, and Stripe billing for paid tiers.
Related integrations
Simple, transparent pricing
Start free. Upgrade when you need more. Refund policy
Pro
€9/mo
- 10,000 requests / month
- Redis caching included
- Dashboard + usage tracking
- Priority rate limits
Business
€29/mo
- 100,000 requests / month
- Redis caching included
- Dashboard + usage tracking
- Priority rate limits
Start building link previews today
500 free requests per month. No credit card. API key in seconds.