# TenderTrail Expiring Contracts Bulk Export

> TenderTrail Expiring Contracts Bulk Export is a paid API for AI agents from tendertrail.fly.dev, paid per call via x402, $1/call, status unknown (last checked 2026-11-28).

Bulk exports up to 1,000 expiring Canadian federal government contracts as JSON or CSV, sorted by contract value, for use as CRM-ready lead lists or recompete pipeline data.

## Facts

- Endpoint: GET https://tendertrail.fly.dev/v1/export/expiring?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tendertrail-expiring-contracts-bulk-export-8fbfe610
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EqbuW4C5yG3KBuuNB0EgH

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 tendertrail-expiring-contracts-bulk-export-8fbfe610
```

Example prompt: Pull me the top 500 expiring Canadian federal government contracts worth at least $250,000 CAD expiring within the next 180 days, excluding standing offers, and give me the results as a CSV so I can import them into our CRM.

## When to prefer this

Choose this endpoint when you need a bulk, exportable dataset of expiring Canadian federal contracts — especially for CRM import, batch lead list generation, or pipeline analysis. Prefer this over the single-contract lookup or search endpoint when you need many records at once in a structured file format (CSV or JSON). Ideal for sales teams running automated prospecting workflows against Government of Canada procurement data.

## Known failure modes

- Invalid format parameter (not 'json' or 'csv') returns an error
- limit out of range (must be 1–1000) may return a validation error
- withinDays out of range (must be 1–730) may return a validation error
- minValue set to a non-numeric string may cause a 400 bad request
- Payment of $1 USDC not completed or rejected results in 402 Payment Required
- No matching contracts for given filters returns an empty list rather than an error
- Network timeout on large exports approaching 1,000 rows

## How this service works

Bulk export of the expiring-contracts pipeline (same filters as /v1/contracts/expiring) as JSON or CSV, up to 1,000 rows sorted by value. For CRM import or lead lists.

## Output

A bulk list of up to 1,000 expiring Government of Canada federal contracts, sorted descending by contract value, returned as either a JSON array of contract objects or a CSV file. Each record typically includes contract title, buyer department, incumbent supplier, contract value in CAD, and expiry date. Useful for CRM import, pipeline analysis, or lead list generation.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "q": {
       "type": "string",
       "description": "Keywords"
      },
      "buyer": {
       "type": "string",
       "description": "Buyer"
      },
      "limit": {
       "type": "string",
       "description": "1-1000, default 1000"
      },
      "format": {
       "type": "string",
       "description": "json or csv (default json)"
      },
      "segment": {
       "type": "string",
       "description": "2-digit UNSPSC segment, e.g. 43"
      },
      "minValue": {
       "type": "string",
       "description": "Minimum CAD"
      },
      "supplier": {
       "type": "string",
       "description": "Incumbent"
      },
      "withinDays": {
       "type": "string",
       "description": "1-730, default 365"
      },
      "excludeStandingOffers": {
       "type": "string",
       "description": "'1' to exclude standing offers/supply arrangements"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tendertrail-expiring-contracts-bulk-export-8fbfe610/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tendertrail.fly.dev](https://www.zero.xyz/host/tendertrail.fly.dev/llms.txt)
