# Robots Directive Merge

> Robots Directive Merge is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-21).

Merges generic and named-agent robots.txt directives with explicit precedence rules to produce a normalized, deterministic pass/advisory crawl decision.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/robots-directive-merge?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/robots-directive-merge-a76bc933
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_riqbYUZm3DAy5J4zSUKdk

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability robots-directive-merge-a76bc933 -d '<json body>'
```

Example prompt: Before I cache this page response, can you merge the generic robots directive 'User-agent: *\nDisallow: /private/' with the agent-specific directive 'User-agent: MyBot\nAllow: /private/' and tell me whether my bot has a pass or advisory status to proceed?

## When to prefer this

Use this endpoint when an agent needs a deterministic, precedence-aware merge of generic (User-agent: *) and named-agent robots.txt blocks before accepting, caching, redirecting, or retrying a web response. Prefer it over manual parsing when you need a normalized, versioned JSON finding with an explicit pass/advisory signal rather than raw text interpretation. It is especially useful in automated pipelines where consistent, auditable crawl decisions are required without external dependencies.

## Known failure modes

- Malformed or non-UTF-8 robots directive text returns a validation error
- Inputs exceeding 8192 characters are rejected
- Missing or empty both inputs may return an indeterminate or default advisory status
- Payment failure (x402) prevents the call from being processed
- Network timeout on the API endpoint

## How this service works

Robots Directive Merge: Robots Directive Merge merges generic and named-agent robots directives with specific precedence from bounded caller-supplied values without an external provider. Call Robots Directive Merge before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Robots Directive Merge as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-pa…

## Output

Returns a versioned deterministic JSON object containing: the normalized web evidence (merged directive representation), the computed finding (effective rule after precedence resolution), and an explicit pass or advisory status indicating whether the caller's agent may proceed with the associated web action.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "generic": {
   "type": "string",
   "maxLength": 8192,
   "description": "Generic supplied to Robots Directive Merge; used only for this bounded calculation and processed in memory without retention."
  },
  "agent_specific": {
   "type": "string",
   "maxLength": 8192,
   "description": "Agent Specific supplied to Robots Directive Merge; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "index": false,
   "follow": false,
   "directives": {
    "index": true,
    "follow": true,
    "noindex": true,
    "nofollow": true
   }
  },
  "schema": "delx/util-robots-directive-merge/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "b9eeb9550ac99b4dea8c9b0875b76b73921e1fa3b567beb37542161b59db80ab",
   "external_calls": 0
  },
  "operation": "web_reliability:robots_directive_merge"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/robots-directive-merge-a76bc933/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
