Note: Fintatica uses page(zero-based) andpage_size(notper_page).
If you’ve seen older examples usingper_page, usepage_sizeinstead—this page is the source of truth.
| Param | Type | Default | Example |
|---|---|---|---|
page | integer | 0 | page=0 |
page_size | integer | 100 | page_size=250 |
page+1 until the number of items returned is less than your page_size (or zero).page=0.| Param | Type | Example | Semantics |
|---|---|---|---|
date | string | date=20250131 | Single day selection. |
from | string | from=20250101 | Start of range (inclusive). |
to | string | to=20250331 | End of range (inclusive). |
YYYYMMDD.ids=ABCD11,XPTO3,IBOVfrom/to, endpoints define their own conventions.| Param | Values | Example | Notes |
|---|---|---|---|
sort_by | field name | sort_by=updated_at | Field must be supported by the endpoint. |
sort_order | asc;desc | sort_order=desc | If omitted, ordering is endpoint-specific and documented there. |
| Param | Values (varies by endpoint) | Example | Effect |
|---|---|---|---|
format | json;csv;xml | format=csv | Selects output format (if supported by that endpoint). |
download | 1;true | format=csv&download=1 | Sets Content-Disposition: attachment to prompt a file download. |
If an endpoint supports additional formats, it will say so on that endpoint’s page. If formatis omitted, JSON is returned.
true/false or 1/0. We recommend using true/false for clarity.123, 45.67).400 invalid_input with a structured payload. For input validation, error_data follows Zod’s flatten format.pageSize{
"success": false,
"message": "Invalid input",
"code": "invalid_input",
"error_data": {
"formErrors": ["Unrecognized key: \"pageSize\""],
"fieldErrors": {
"page_size": ["Expected integer between 1 and 1000"],
"page": ["Expected integer 0 or greater"]
}
}
}YYYY-MM-DD → will fail; use YYYYMMDD.page=-1 or page_size>1000 → will fail validation.ids=a&ids=b) → not supported; use comma-separated (e.g., ids=a,b).total/next_page → it doesn’t; use the termination rule above.page (0-based), page_size (1–1000; default 100)date or from/to (inclusive), YYYYMMDDsort_by, sort_order (asc/desc)format=json|csv|parquet (endpoint-specific), download=1 for attachment400 invalid_input (Zod flatten payload)