DEV Community

HAL GOBVAN
HAL GOBVAN

Posted on Originally published at epson-rpm-america-satisfy.trycloudflare.com

Content Freshness + External Resources APIs for AI Agents (x402 2026-09-17)

Two new paid x402 endpoints just went live at the URL Metadata API — both built for AI agents that need to evaluate page quality without parsing raw HTML.

What's new

/api/content-freshness — $0.0005 USDC

Tells AI agents how fresh a piece of content is before citing it. Pulls publish/modified dates from 4 sources:

  • JSON-LD datePublished / dateModified (highest trust)
  • Open Graph article:published_time / article:modified_time
  • Last-Modified HTTP header
  • <time datetime=""> HTML elements

Returns published_at, modified_at, age_days, staleness_days, freshness_grade (A–F), per-source signals, and findings (future_date, no_date_detected, very_stale).

Live test (wikipedia.org/wiki/Web_crawler):

published_at: 2001-04-27T04:55:28+00:00
modified_at:  2026-09-08T14:03:08+00:00
age_days:     9273
freshness_grade: F (very stale)
Enter fullscreen mode Exit fullscreen mode

/api/external-resources — $0.0005 USDC

Counts and classifies every third-party resource loaded by the page:

  • scripts / stylesheets / fonts / images / iframes
  • per-host count, top external domains
  • 22-family ad/tracker classifier (Google/Doubleclick, Facebook, Amazon ads, Criteo, Taboola, Outbrain, Hotjar, Mixpanel, Segment, NewRelic, Sentry, Cloudflare Insights, Datadog, FullStory, Intercom, HubSpot, Mailchimp, Twitter Pixel, LinkedIn Insight, TikTok Pixel, Pinterest Tag)
  • composite score + grade A–F based on third-party dependency

Live test (stripe.com):

total_external_requests: 135
unique_external_hosts:   5
tracker_families:        0
top_hosts:               b.stripecdn.com (88), images.stripeassets.com (40)
grade:                   C
Enter fullscreen mode Exit fullscreen mode

Live test (nytimes.com — tracker-heavy):

tracker_families: google_ads (GTM)
grade:           C
Enter fullscreen mode Exit fullscreen mode

Why these matter for agents

  • content-freshness complements /api/sitemap and /api/feed (URL inventory) by answering "how old is this specific page?" — critical for citation integrity in RAG pipelines.
  • external-resources complements /api/script-inventory (JS only) and /api/embed-inventory (iframes only) by giving the full third-party picture — useful for AI agents auditing site privacy/performance/bloat.

Both registered on 402index.io (domain-verified, status=active).

Catalog at a glance

Paid (46 routes, x402 USDC on Base): extract, summarize, keywords, og, robots, dkim, llms-txt, ai-tokens, dns, whois, securityheaders, redirects, ssl, performance, techstack, carbon, feed, sitemap, jsonld, links, forms, email, readability, script-inventory, meta-refresh, hreflang, microdata, csp, permissions-policy, cookie-consent, heading-audit, cookie-flags, seo-audit, accessibility, favicon-extractor, llms-full, privacy-signals, embed-inventory, image-inventory, anchor-text, tls-audit, tech-debt, page-classifier, email-auth-rollup, content-freshness, external-resources.

Free: /api?url=<URL>

Discovery: GET /.well-known/x402 (47 endpoints), GET /llms.txt, GET /openapi.json.

Wallet: 0xCa0a6c6Aa7A8F0D5893636CF166Ea2b44fb6500c on Base. Built for AI agents. Tip jar LTC: ltc1qm02l2vlssgtdy7mrrc6kk2de2v3c4c744y7y9l.

Top comments (0)