# C7 Deadline Calculator — /deadline (single deadline computation)

> C7 Deadline Calculator — /deadline (single deadline computation) is a paid API for AI agents from tap-c7-deadline-calc.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-30).

Computes a single legal-procedure deadline date from a trigger date and a rule ID, returning the deadline date, counting method, and primary-source citation.

## Facts

- Endpoint: GET https://tap-c7-deadline-calc.vercel.app/deadline?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/c7-deadline-calculator-deadline-single-deadline-computation-af9e91d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xGDnz9XnHXSSB1LQix1Nw

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 c7-deadline-calculator-deadline-single-deadline-computation-af9e91d7
```

Example prompt: What's the deadline to answer a federal civil complaint if the summons was served on October 2, 2026 — use rule fed-answer-21 and show me the citation?

## When to prefer this

Choose this endpoint when you need a deterministic, citation-backed legal deadline calculation for a known procedural rule (federal or California), and need the output to include the primary-source rule citation for verification. Prefer this over generic date-math utilities because it encodes jurisdiction-specific counting rules (Fed. R. Civ. P. 6(a), Cal. Code Civ. Proc. §§ 12, 12a, 1005(b)) and returns authoritative citations. Use /rules first if you need to discover available rule IDs.

## Known failure modes

- 402 Payment Required — no valid x402 payment provided; response includes PaymentRequirements header
- 400 Bad Request — missing or malformed date parameter (not YYYY-MM-DD) or unrecognized rule_id
- 404 Not Found — rule_id does not exist in the built-in rule table
- 400 Bad Request — jurisdiction parameter conflicts with the rule's own jurisdiction
- 500 Internal Server Error — unexpected server-side failure

## How this service works

Deterministic legal-procedure deadline math, sold per call. POST /deadline ($0.05 USDC) computes ONE deadline from a trigger date and a rule id: deadline date, counting method, and the rule's primary-source citation. POST /rules ($0.01 USDC) lists the built-in rule table. Every rule was built from a seat-verified legal-research record and carries its citation (Fed. R. Civ. P. / Fed. R. App. P. / 28 U.S.C. / Cal. Code Civ. Proc. / Cal. Rules of Court); counting applies Fed. R. Civ. P. 6(a) for federal rules and Cal. Code Civ. Proc. §§ 12, 12a (calendar days) or § 1005(b) (court days) for California rules, exactly as cited in each output. RESEARCH DATA ONLY — not legal advice. Unpaid calls answer 402 with x402 PaymentRequirements until a verified payment arrives. Dual x402 rail (v1 via X-PAYMENT, v2 via PAYMENT-SIGNATURE), exact scheme, USDC on Base.

## Output

A JSON object containing: the computed deadline_date (YYYY-MM-DD), number of days, unit (calendar_days or court_days), the rule_id and rule_name, the trigger_event description, the full counting_method explanation, citation and citation_url for the primary source rule, counting_citation, deadline_weekday, jurisdiction, checked_at timestamp, optional notes, and a research disclaimer.

## 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"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "date",
      "rule_id"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "Trigger date, ISO format YYYY-MM-DD (e.g. the date of service). \"trigger_date\" is accepted as an alias."
      },
      "rule_id": {
       "type": "string",
       "description": "A rule id from /rules, e.g. \"fed-answer-21\". \"rule\" is accepted as an alias."
      },
      "jurisdiction": {
       "type": "string",
       "description": "Optional: \"federal\" or \"CA\" — must match the rule's jurisdiction."
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "days": 21,
  "unit": "calendar_days",
  "notes": "If the defendant timely waived service, use fed-answer-waiver-60 instead.",
  "rule_id": "fed-answer-21",
  "citation": "Fed. R. Civ. P. 12(a)(1)(A)(i)",
  "direction": "forward",
  "rule_name": "Answer to a complaint (private defendant)",
  "checked_at": "2026-10-29T00:00:00.000Z",
  "disclaimer": "Research data only — not legal advice…",
  "citation_url": "https://www.uscourts.gov/sites/default/files/civil-rules-procedure-dec2017_0.pdf",
  "jurisdiction": "federal",
  "trigger_date": "2026-10-02",
  "deadline_date": "2026-10-23",
  "source_record": "fed-answer-21",
  "trigger_event": "Service of the summons and complaint",
  "counting_method": "Fed. R. Civ. P. 6(a): the trigger day is excluded; every calendar day is counted…",
  "deadline_weekday": "Friday",
  "counting_citation": "Fed. R. Civ. P. 6(a)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/c7-deadline-calculator-deadline-single-deadline-computation-af9e91d7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tap-c7-deadline-calc.vercel.app](https://www.zero.xyz/host/tap-c7-deadline-calc.vercel.app/llms.txt)
