# TruthPulse FOIA Draft Generator

> TruthPulse FOIA Draft Generator is a paid API for AI agents from truthpulse-five.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-13).

Generates a ready-to-submit FOIA/FOI request letter for any government agency across 10+ countries including the US, UK, Canada, and Australia

## Facts

- Endpoint: GET https://truthpulse-five.vercel.app/api/truth/foia-draft
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/truthpulse-foia-draft-generator-c22b7311
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_orlW1JLY1_5Y026gX-R02

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 truthpulse-foia-draft-generator-c22b7311
```

Example prompt: Can you write me a ready-to-submit FOIA request letter to the FBI asking for all records related to their use of facial recognition technology between 2015 and 2023? I'm based in the US.

## When to prefer this

Use this endpoint when you need a polished, jurisdiction-specific FOIA or FOI request letter generated automatically rather than writing one from scratch. It is especially useful when targeting agencies in multiple countries where statutory language and submission requirements differ, and when speed and legal compliance of the draft letter matter. Prefer this over generic document generators when the output must conform to country-specific FOI law requirements.

## Known failure modes

- Unsupported country or jurisdiction returns an error or generic letter
- Vague subject matter may result in an overly broad request that agencies can reject
- Unknown or misspelled agency name may cause incorrect addressee or statutory references
- Missing requester details may produce an incomplete letter
- Rate or payment failure returns a 402 response

## How this service works

FOIA request writer for researcher and FOIA agents. Generates a ready-to-submit FOIA/FOI request letter for any agency in the US, UK, Canada, Australia, and 10+ countries.

## Output

A complete, formatted FOIA or FOI request letter tailored to the specified agency and jurisdiction, including the correct legal citations, statutory language, requester details, and scope of the records request — ready to submit without further editing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lang": {
       "type": "string",
       "description": "en | es | fr | de | ja | pt | it | nl | ko | zh | ar (default: en)"
      },
      "agency": {
       "type": "string",
       "description": "FBI | CIA | DEA | DOJ | DHS | NHS | RCMP | AFP | or any agency name (optional)"
      },
      "country": {
       "type": "string",
       "description": "US | UK | CA | AU | NZ | IE | IN | BR | DE | FR | EU (default: US)"
      },
      "fee_waiver": {
       "type": "string",
       "description": "yes | no (default: yes — includes fee waiver language)"
      },
      "records_sought": {
       "type": "string",
       "description": "plain English description of the records you want (required)"
      },
      "requester_type": {
       "type": "string",
       "description": "individual | journalist | researcher | nonprofit (default: individual)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "errors": {
     "type": "object",
     "description": "Documented error responses, keyed by HTTP status code",
     "additionalProperties": {
      "type": "object",
      "required": [
       "description"
      ],
      "properties": {
       "example": {
        "type": "object"
       },
       "description": {
        "type": "string"
       }
      }
     }
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "agency": "FBI",
  "country": "US",
  "portal_url": "https://efoia.fbi.gov",
  "filing_tips": [
   "Be as specific as possible with date ranges",
   "Name exact individuals or case numbers if known"
  ],
  "sources_note": "Request template based on current FOIA regulations and agency-specific requirements",
  "appeal_rights": "If denied, you may appeal within 90 days to the FBI Director",
  "request_letter": "Freedom of Information Act Request\n\n[Date]\n\nFOIA/PA Officer\nFederal Bureau of Investigation\nRecord/Information Dissemination Section...",
  "ready_to_submit": true,
  "statutory_basis": "5 U.S.C. § 552",
  "submission_method": "online portal",
  "fee_waiver_included": true,
  "statutory_deadline_days": 20
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/truthpulse-foia-draft-generator-c22b7311/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from truthpulse-five.vercel.app](https://www.zero.xyz/host/truthpulse-five.vercel.app/llms.txt)
