81trust / 100

Metadata

by Aayat AI in Search & web

x402 APIPassing, checked 4 h ago

A web page's metadata in one cheap call: title, description, canonical URL, language, site name, preview image, OpenGraph and Twitter card tags, author and dates, icons, RSS/Atom feeds and JSON-LD (schema.org) types. For link previews, SEO checks and crawlers. robots.txt respected. ?url=https://example.com

GET https://aayatai.com/metadata

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
54 ms typical, 54 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/metadata?url=https%3A%2F%2Fexample.org%2F"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fmetadata
const res = await pay("https://aayatai.com/metadata?url=https%3A%2F%2Fexample.org%2F");
console.log(await res.json());

Example input

{
  "url": "https://example.org/"
}

Example output

{
  "author": null,
  "canonical": "https://example.org/",
  "description": "We make examples.",
  "feeds": [
    {
      "title": "Blog",
      "type": "application/rss+xml",
      "url": "https://example.org/feed.xml"
    }
  ],
  "generator": null,
  "icons": [
    "https://example.org/favicon.ico"
  ],
  "image": "https://example.org/og.png",
  "jsonLdTypes": [
    "Organization"
  ],
  "language": "en",
  "modifiedAt": null,
  "openGraph": {
    "og:image": "https://example.org/og.png",
    "og:title": "Example Org"
  },
  "publishedAt": null,
  "robots": null,
  "siteName": "Example",
  "status": 200,
  "title": "Example Org",
  "twitter": {
    "twitter:card": "summary_large_image"
  },
  "type": "website",
  "url": "https://example.org/"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed40254 ms$0.002