What you get
| Field | Type |
|---|---|
currency |
string |
country |
string |
country_currency_desc |
string |
effective_date |
string |
exchange_rate |
string |
record_calendar_day |
string |
record_calendar_month |
string |
record_calendar_quarter |
string |
All 15 fields
Key fields
currencycountrycountry_currency_desceffective_dateexchange_raterecord_calendar_dayrecord_calendar_monthrecord_calendar_quarterrecord_calendar_yearrecord_fiscal_quartersrc_line_nbr
Technical fields
record_daterecord_fiscal_yearrow_idtyped_exchange_rate
Sample records
2 saved records. This is a saved sample, not a live run.
currency |
country |
country_currency_desc |
effective_date |
exchange_rate |
record_calendar_day |
|---|---|---|---|---|---|
| Dollar | Canada | Canada-Dollar | 2026-09-30 | 1.418 | 30 |
| Dollar | Canada | Canada-Dollar | 2001-09-30 | 1.549 | 30 |
Scroll sideways to see more columns.
Inputs
-
countrystring | array of stringOptional. The exact value of the source's "country" field to keep, or a list of values to keep records holding any of them (each as typed, without commas or parentheses). Omit it for the listing's own selection of this field.
-
currencystring | array of stringOptional. The exact value of the source's "currency" field to keep, or a list of values to keep records holding any of them (each as typed, without commas or parentheses). Omit it for the listing's own selection of this field.
-
record_date_fromstringOptional. Lowest value of the source's "record_date" field to keep (inclusive), written as the records write it (for example 2024-01-01). Omit it to leave this side open.
-
record_date_tostringOptional. Highest value of the source's "record_date" field to keep (inclusive), written as the records write it (for example 2024-12-31). Omit it to leave this side open.
-
effective_date_fromstringOptional. Lowest value of the source's "effective_date" field to keep (inclusive), written as the records write it (for example 2024-01-01). Omit it to leave this side open.
6 more inputs
-
effective_date_tostringOptional. Highest value of the source's "effective_date" field to keep (inclusive), written as the records write it (for example 2024-12-31). Omit it to leave this side open.
-
exchange_rate_minstringOptional. Lowest value of the source's "exchange_rate" field to keep (inclusive), written as the records write it (for example 0). Omit it to leave this side open.
-
exchange_rate_maxstringOptional. Highest value of the source's "exchange_rate" field to keep (inclusive), written as the records write it (for example 0). Omit it to leave this side open.
-
record_fiscal_yearstring | array of stringOptional. The exact value of the source's "record_fiscal_year" field to keep, or a list of values to keep records holding any of them (each as typed, without commas or parentheses). Omit it for the listing's own selection of this field.
-
record_fiscal_quarterstring | array of stringOptional. The exact value of the source's "record_fiscal_quarter" field to keep, or a list of values to keep records holding any of them (each as typed, without commas or parentheses). Omit it for the listing's own selection of this field.
-
sortchoiceOptional. Filters by sort. Choose one or more. Default: -record_date.
Request
POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_c2a79885d6c82dcd59fb439a/endpoints/generated_c2a79885d6c82dcd59fb439a_search/run
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_c2a79885d6c82dcd59fb439a/endpoints/generated_c2a79885d6c82dcd59fb439a_search/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{
"input": {
"country": "Canada"
},
"version": 1,
"max_items": 25
}'
Save the Idempotency-Key before you send, and reuse it only to retry the same request. The key needs the run scope. See Run a catalog API.
version pins major v1, whose newest minor (1.0) answers. Leave it out and the call runs on the latest major.
Changelog
-
v1.0 (major) ·
Use it from an AI agent
Open in your coding agent
Add CleanedWeb to your agent as an MCP server, such as a custom connector in Claude or ChatGPT, then sign in with your CleanedWeb account. An API key with the read and run scopes works too.
https://api.cleanedweb.com/mcp?profile=catalog
Then ask, for example: Use CleanedWeb to get 25 records from the Treasury Fiscal Data Exchange Rates API.
The agent finds the API, runs it and reads the records. Runs are charged like any other run.
Coverage
- Category
- Public data
A run stops when the source has no more records, or when it reaches a limit you set: the number of records, the time, or your budget.
CleanedWeb is not affiliated with Treasury.