OpenGraph & JSON-LD Extractor API
Pull structured OpenGraph, Twitter Card, Schema.org JSON-LD, heading hierarchies, and deduplicated outbound links in a single sub-50ms API call.
Why engineering teams use EdgeDocAPI
- Resilient JSON-LD parser safely ignores malformed blocks without crashing
- Resolves relative canonical and outbound links against source_url
- Flags external vs internal outbound links automatically
Copy-Paste Integration (/v1/extract-metadata)
curl -X POST https://api.docopsapi.com/v1/extract-metadata \
-H "Authorization: Bearer edk_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/blog/launch"}'import requests
resp = requests.post(
"https://api.docopsapi.com/v1/extract-metadata",
headers={"Authorization": "Bearer edk_live_YOUR_API_KEY"},
json={
"url": "https://example.com/blog/launch"
},
timeout=15,
)
resp.raise_for_status()
print(resp.json())const res = await fetch("https://api.docopsapi.com/v1/extract-metadata", {
method: "POST",
headers: {
"Authorization": "Bearer edk_live_YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"url": "https://example.com/blog/launch"
}),
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);