Skip to content
Fourohtwo

Fetch a site's robots.txt and evaluate crawl permissions

web.openverbs.com/v1/robots

Fetch a site's robots.txt and evaluate crawl permissions: given a URL (plus optional extra paths) and a user-agent, return whether each path is allowed or disallowed, the rule that matched, the user-agent group, the crawl-delay and any declared sitemaps. Implements the Robots Exclusion Protocol (RFC 9309) with longest-match-wins, Allow-over-Disallow tie-breaking and * / $ wildcards.

BaseAnswering
POSThttps://web.openverbs.com/v1/robots

Uptime100% of 5 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://web.openverbs.com/v1/robots", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"paths":["example"],"url":"https://example.com","userAgent":"example"}),
});
console.log(await res.json());

Example input

{
  "paths": [
    "example"
  ],
  "url": "https://example.com",
  "userAgent": "example"
}
Fetch a site's robots.txt and evaluate crawl permissions by Check robots.txt crawl rules · x402 API | Fourohtwo