zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Dev Tools/Meta/OG Preview
Logo Meta/OG Preview

Meta/OG Preview

Fetch link preview metadata dari URL — Open Graph, Twitter Card, favicon, canonical, theme color (kayak WhatsApp/Slack link preview).

Endpoints
1
Requests
6
Updated
3 months ago
For LLMs
llms.txt
Endpoint health15 hours ago
  • lookuppassing, 0.1s
1/1 passingdaily 01:00 WIB

Playground

1 endpoint
GET/v1/dev-tools:meta-preview/lookup5m cache1 paramchecking key…
Parameters
urlstringrequired

URL halaman web. Auto-parse Open Graph / Twitter Card / meta tags untuk preview.

·
Response
EXAMPLE
{
  "url": "https://github.com",
  "type": "object",
  "image": "https://images.ctfassets.net/8aevphvgewt8/4pe4eOtUJ0ARpZRE4fNekf/f52b1f9c52f059a33170229883731ed0/GH-Homepage-Universe-img.png",
  "title": "GitHub · Change is constant. GitHub keeps you ahead.",
  "favicon": "https://github.githubassets.com/favicons/favicon",
  "finalUrl": "https://github.com/",
  "siteName": "GitHub",
  "canonical": "https://github.com/",
  "scrapedAt": "2026-05-27T07:14:08.168Z",
  "themeColor": "#1e2327",
  "description": "Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.",
  "twitterCard": {
    "card": "summary_large_image",
    "site": "@github",
    "image": "https://images.ctfassets.net/8aevphvgewt8/4pe4eOtUJ0ARpZRE4fNekf/f52b1f9c52f059a33170229883731ed0/GH-Homepage-Universe-img.png",
    "title": "GitHub · Change is constant. GitHub keeps you ahead.",
    "description": "Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity."
  }
}

Code examples

Lookup
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("dev-tools:meta-preview", "lookup", {
  "url": "https://github.com"
});
console.log(data);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/dev-tools:meta-preview/lookup?url=https%3A%2F%2Fgithub.com" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

1 endpoint · plain text
GETLookup/v1/dev-tools:meta-preview/lookupPerform lookup dengan input yang diberikan.

Parameters

urlstringrequired
URL halaman web. Auto-parse Open Graph / Twitter Card / meta tags untuk preview.

Request

curl -X GET "https://api.zpi.web.id/v1/dev-tools:meta-preview/lookup?url=https%3A%2F%2Fgithub.com" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "url": "https://github.com",
  "type": "object",
  "image": "https://images.ctfassets.net/8aevphvgewt8/4pe4eOtUJ0ARpZRE4fNekf/f52b1f9c52f059a33170229883731ed0/GH-Homepage-Universe-img.png",
  "title": "GitHub · Change is constant. GitHub keeps you ahead.",
  "favicon": "https://github.githubassets.com/favicons/favicon",
  "finalUrl": "https://github.com/",
  "siteName": "GitHub",
  "canonical": "https://github.com/",
  "scrapedAt": "2026-05-27T07:14:08.168Z",
  "themeColor": "#1e2327",
  "description": "Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.",
  "twitterCard": {
    "card": "summary_large_image",
    "site": "@github",
    "image": "https://images.ctfassets.net/8aevphvgewt8/4pe4eOtUJ0ARpZRE4fNekf/f52b1f9c52f059a33170229883731ed0/GH-Homepage-Universe-img.png",
    "title": "GitHub · Change is constant. GitHub keeps you ahead.",
    "description": "Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity."
  }
}

Related APIs

More in dev-tools

CF Sitekey Extractor

dev-tools/cf-sitekey

Mengekstrak Cloudflare Turnstile sitekey dari halaman web dengan multiple fetch mode.

35 calls·1h cache

IP Geolocation

dev-tools/ip-geo

IP geolocation lookup — country, region, city, ISP, ASN, koordinat untuk IPv4 dan IPv6.

13 calls·5m cache

WHOIS Lookup

dev-tools/whois-lookup

WHOIS / RDAP domain lookup — registrar, registration & expiry dates, nameservers, status, registrant contact.

13 calls·5m cache

DNS Lookup

dev-tools/dns-lookup

Query DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) via secure DNS-over-HTTPS resolver.

20 calls·5m cache

SSL Labs

dev-tools/ssl-labs

Retrieve SSL/TLS analysis report for a hostname.

6 calls·5m cache

HTTP Headers Inspector

dev-tools/http-headers

Inspect HTTP response headers and redirect chain for any URL.

4 calls·5m cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026