rows[] depends on the dataset — see the per-dataset pages for the field-by-field reference. Every response also carries pagination and meta blocks that tell you how to fetch the next page and how your filter was interpreted.
Request
Endpoint
- Production
- Staging
https://v3-api.cleargrid.ai/admin/v3Headers
string
required
Bearer token obtained from the Lender Login endpoint. Format:
Bearer <access_token>.Path parameters
string
required
Your lender public ID. Must equal the
lenderId encoded in the JWT, otherwise the request returns 403.string
required
One of
S1–S5. See the catalog endpoint.string
required
One of
D01–D26 (with gaps). See the catalog endpoint.Query parameters
string (ISO-8601)
Inclusive lower bound (
>=) on the dataset’s cursor field. Omit for an initial load.string (ISO-8601)
Exclusive upper bound (
<) on the dataset’s cursor field. Omit to read up to “now”.string
Opaque next-page token from the previous response’s
body.pagination.nextCursor. Omit on the first page. Treat as opaque — see Pagination.integer
default:"500"
Page size. Range:
1–1000. Values outside the range are clamped.string
default:"asc"
Sort direction on the cursor field. One of
asc or desc.boolean
default:"false"
When
true, runs an extra query and adds pagination.total (the filter-wide row count, independent of cursor/limit). For via datasets (e.g. D21, D22, D23) a time window — since and/or until — is required, otherwise total is null with totalNote: "window_required". Large counts are capped (totalExact: false, totalNote: "capped") and the query is time-bounded (total: null, totalNote: "timeout").Example requests
Response
- 200 — Success
- 200 — Last page (nextCursor null)
- 200 — Success (with totals)
- 200 — Success (total: capped)
- 200 — Success (total: timeout)
- 200 — Success (total: window required, via)
- 400 — (not applicable)
- 403 — Lender mismatch
- 404 — Unknown section
- 404 — Unknown dataset
Example using
D07 (Borrower Payments). nextCursor is non-null, so there are more pages to fetch.Response fields
object
The section this dataset belongs to.
object
The dataset that was fetched.
array
The page of rows. Each element is a redacted document whose shape depends on the dataset — see the per-dataset pages. May be empty.
object
Pagination state for this page.
object
Echo of how the request was interpreted.
array
Always an empty array on success.
The contents of each
rows[] element vary by dataset. For the exact field list, masking, and a sample row, open the matching per-dataset page.Need Help?
Our support team is available Monday-Friday, 9 AM - 6 PM GST. Reach out at support@cleargrid.co or visit our help center.