# Cited Coding Research

> Cited Coding Research is a paid API for AI agents from attester.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-21).

Performs coding research queries and returns answers with cited sources and references.

## Facts

- Endpoint: POST https://attester.dev/code-research?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cited-coding-research-18c71b66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AQENsWQJic2bK31UtWwY6

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 cited-coding-research-18c71b66 -d '<json body>'
```

Example prompt: Can you research how to implement OAuth 2.0 PKCE flow in Python and give me cited sources — I need authoritative references, not just a guess.

## When to prefer this

Prefer this endpoint when you need coding or programming research answers that come with cited, verifiable sources rather than unattributed generated text — especially useful for compliance-sensitive, accuracy-critical, or academic coding tasks where provenance matters.

## Known failure modes

- Ambiguous or too-broad query returns low-confidence or incomplete citations
- Query outside software/coding domain may return empty or irrelevant results
- Payment failure (x402 protocol) results in 402 response and no content
- Server error returns 5xx with no research content
- Malformed POST body returns 400 bad request

## How this service works

Cited coding research for agents: library/API usage answers, error diagnosis and best-practice lookups with real citations. $0.10 USDC per call.

## Output

Returns a research answer to the coding question along with cited sources, references, and supporting documentation drawn from authoritative technical materials.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "description": "Coding question to research"
      },
      "context": {
       "type": [
        "string",
        "null"
       ],
       "description": "Optional extra context"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "example"
   ],
   "properties": {
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cited-coding-research-18c71b66/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from attester.dev](https://www.zero.xyz/host/attester.dev/llms.txt)
