Home · APIs · Web page extraction · Web page extract

Web page extract API

One request, one key: POST /v1/extract. The fields below are read from a real answer captured 19 November 2026, with the value each field had (long text cut, lists cut to three items); a call can return more or fewer fields depending on what the source holds. It is not invented.

Price

30 credits a call. One call is about $0.294 and 1,000 calls are about $294 at the smallest paid plan's rate.Formula A call that comes back empty is not charged.

Try it

This call is not in the free browser demo: it needs a key. A free key (100 credits, no card) is at the trial page.

What it returns

You send:

{
  "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw"
}

FieldTypeValue in the captured answer
urlstring(text, not shown here)
platformstringyoutube
extracted_atstring2026-11-19T23:05:52.804887+00:00
titlestringMe at the zoo
author_namestringjawed
author_urlstring(text, not shown here)
published_atstringApr 23, 2005
date_sourcestring(text, not shown here)
thumbnail_urlstring(text, not shown here)
content_typestringvideo
extrasobjectan object with 5 fields

Measured on that call: 1797 ms.

Code

curl

curl -X POST https://api.foxapis.com/v1/extract \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw"}'

Python

import requests

r = requests.post(
    "https://api.foxapis.com/v1/extract",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw"},
)
print(r.json())

JavaScript

const r = await fetch("https://api.foxapis.com/v1/extract", {
  method: "POST",
  headers: { "Authorization": "Bearer YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw"}),
});
console.log(await r.json());

n8n (HTTP Request node: paste it into a workflow)

{
  "nodes": [
    {
      "name": "Web page extract",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.foxapis.com/v1/extract",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\"url\":\"https://www.youtube.com/watch?v=jNQXAC9IVRw\"}"
      }
    }
  ],
  "connections": {}
}

Assistants (Claude, ChatGPT, Cursor)

Connect the FoxAPIs server once; the tools it offers are listed on the MCP page.

claude mcp add --transport http foxapis https://foxapis.com/mcp \
  --header "Authorization: Bearer YOUR_KEY"

Errors and limits

Free to start: 100 credits, no card. Then from $10. Credits you buy never expire.

Get my free key

More in this category: Smart page extract

Same category: Web page extraction · all APIs

How we calculate

Data: scripts/data/endpoint-credits.json and plans.json, 2026-11-20. Every other figure on this page is copied from the record, not calculated by us.