TapCub is live — analytics, insights and live chat, free on one platform

Web data API Website Metadata API

One call returns what a page says about itself: title and description, Open Graph tags, icons and structured data.

POSThttps://api.pathclue.com/v1/web/metadataBeta
Request

Call it from your code

Set your key in the TAPCUB_API_KEY environment variable. Base URL: https://api.pathclue.com/v1.

terminal
curl -X POST https://api.pathclue.com/v1/web/metadata \
  -H "Authorization: Bearer $TAPCUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/blog/post"}'
Parameters

Request parameters

Request parameters
ParameterTypeRequiredDefaultDescription
urlurlYes—Page address, http or https only. Private and reserved addresses are refused.
Response

Example response

Successful responses carry the X-Credits-Charged and X-Credits-Balance headers. Errors return {"error":{"code","message"}} and are never charged.

response.json
{
  "url": "https://example.com/blog/post",
  "finalUrl": "https://example.com/blog/post",
  "status": 200,
  "title": "Post title",
  "description": "A short summary of the post.",
  "canonical": "https://example.com/blog/post",
  "lang": "en",
  "charset": "utf-8",
  "robots": null,
  "xRobotsTag": null,
  "author": null,
  "generator": "WordPress 6.8",
  "themeColor": null,
  "viewport": "width=device-width, initial-scale=1",
  "keywords": null,
  "openGraph": {
    "title": "Post title",
    "type": "article",
    "image": "https://example.com/og.png",
    "imageWidth": "1200",
    "imageHeight": "630",
    "images": [
      "https://example.com/og.png"
    ]
  },
  "twitter": {
    "card": "summary_large_image",
    "site": "@example"
  },
  "icons": [
    {
      "rel": "icon",
      "href": "https://example.com/favicon-32.png",
      "sizes": "32x32",
      "type": "image/png"
    },
    {
      "rel": "apple-touch-icon",
      "href": "https://example.com/apple-touch-icon.png",
      "sizes": "180x180",
      "type": null
    }
  ],
  "favicon": "https://example.com/favicon-32.png",
  "faviconDeclared": true,
  "manifest": null,
  "alternates": [
    {
      "hreflang": "de",
      "href": "https://example.com/de/blog/post"
    }
  ],
  "jsonLd": [
    {
      "valid": true,
      "types": [
        "BlogPosting"
      ],
      "data": {
        "@context": "https://schema.org",
        "@type": "BlogPosting",
        "headline": "Post title"
      }
    }
  ],
  "jsonLdCheck": {
    "items": 1,
    "errors": 0,
    "warnings": 1,
    "issues": [
      {
        "level": "warn",
        "key": "missingRec",
        "vars": {
          "block": 1,
          "path": "BlogPosting",
          "prop": "image"
        },
        "line": 9
      },
      {
        "level": "ok",
        "key": "richOk",
        "vars": {
          "block": 1,
          "path": "BlogPosting",
          "type": "BlogPosting"
        },
        "line": 9
      }
    ]
  },
  "microdata": [],
  "rdfa": [],
  "truncated": false
}
Price and limits

What it costs

What it costs
Price1 credit per call
In US dollarsabout $0.001 · $1 / 1,000
CreditsFree or paid credits
Rate limitFree 10 / min · Plus 60 / min · Pro 300 / min
Free daily cap1,000 calls a day per key on free accounts
ChargedOnly on success — errors and timeouts are free
Use cases

What people build with it

Link previews

Build rich link cards in chat apps, CMSs and social tools.

SEO audits

Check titles, descriptions and social tags across many pages.

Catalog enrichment

Fill names, images and descriptions for URLs your users submit.

FAQ

Frequently asked questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

Is metadata added by JavaScript included?

It reads the HTML the server returns. Most sites put their meta tags there; single-page apps that add them later with JavaScript may return less.

Does it validate structured data?

It returns the structured data as found on the page. It does not judge whether a page qualifies for rich results.

How much does the Website Metadata API cost?

Each successful call costs 1 credit per call (about $0.001). 1 credit is about $0.001. Failed calls — invalid input, unreachable sites, timeouts or errors on our side — are not charged.

Can I try it for free?

Yes. New accounts get 300 credits and every account gets 30 free credits a day, and they work on this endpoint. You can also try the matching free tool on tapcub.com without a key.

What are the rate limits?

Free accounts can make 10 calls a minute and 1,000 a day per key; Plus allows 60 a minute and Pro 300. Over the limit you get HTTP 429 with a Retry-After header, and nothing is charged.

How do I get an API key?

Sign in to the TapCub console, verify your email and create a key on the Tools → API page. Keys start with tck_ and are shown once; send them in the Authorization: Bearer header.

Get your API key

Create a key in the console and make your first call in a minute. Light endpoints run on free daily credits.