Developers /Datasets API

List rows

Your team's rows (`view=mine`), every row (`view=all`, with an all-identifiers subscription), or the rows of named identifiers (`identifier=`, up to 50): followed identifiers are free; other live identifiers are lookups (1 check each, 5 for an identifier collected by agent, free again until the next refresh; needs `lookup`); an identifier not in the dataset becomes a request (`202`, needs `request`) unless `on_missing=error` (`404`). Filter with `filter.<column>=a,b` and `collected_by`; add rows of other datasets with `join`; `refresh=now` also queues an on-demand refresh.

GET/datasets/v1/{dataset}/records
GET example
curl --request GET \
  --url 'https://factget.dev/datasets/v1/{dataset}/records' \
  --header "Authorization: Bearer $FACTGET_DATASETS_KEY"

Replace IDs and sample values with your own. Examples are not executed in your browser.

Authorization

Authorizationstring · header · required

Bearer Datasets API key with the required scope. Learn about authentication →

Parameters

Path parameters

datasetstringrequired

Query parameters

viewstring

mine: the identifiers you follow. all: every row; needs a subscription to all identifiers.

Default: "mine"Allowed: "mine", "all"
identifierstring[]

Identifiers, as written in the dataset's format

Default: []
columnsstring | null

Comma-separated columns

as_ofstring | null

ISO time: the rows valid then

expandstring | null

receipts: a receipt for every visible value.

Allowed: "receipts"
on_missingstring

request: an identifier not in the dataset becomes a request. error: answer 404 identifier_not_found and charge nothing.

Default: "request"Allowed: "request", "error"
refreshstring | null

now: also queue an on-demand refresh of the asked identifiers (or every followed one); needs `lookup`, charged like POST /v1/{dataset}/refresh. The rows are the current ones; `refresh.poll` says where the new ones appear.

Allowed: "now"
collected_bystring | null

workflow or agent: only rows collected that way.

Allowed: "workflow", "agent"
joinstring[]

A dataset slug (up to 3): each row gains `related.<slug>`, the rows of that dataset linked to it through a shared entity (free where your team follows them; lookups with `lookup`).

Default: []
cursorstring | null

The next_cursor of the previous page.

limitstring | null

Rows per page, 1 to 1000, default 100.

filter.<column>string

Comma-separated values of one visible column, e.g. filter.state=VA,OH (equality; columns AND, values OR; at most 10 columns and 100 values).

Responses

200Successful response
application/json
datasetstringrequired
rowsobject[]required
Show item properties
identifierstringrequired

The identifier the row belongs to, e.g. "Loudoun County, VA".

record_keystring | null

The row's key, e.g. "Loudoun County|VA|data_center"; null on a requested placeholder.

collected_bystring
Default: "workflow"Allowed: "workflow", "agent"
last_checkedstring | null

When the row was last refreshed.

row_statusstring

stale: not checked within the dataset's refresh window; requested: a placeholder for an identifier not in the dataset yet.

Default: "live"Allowed: "live", "stale", "removed", "requested"
receiptsobject | null

One receipt per visible data column (expand=receipts, and single-row reads).

correctedstring[] | null

Columns whose value Factget corrected after a customer report (left out when none).

relatedobject | null

With join=<slug>: the rows of that dataset linked to this row, by slug.

expected_atstring | null

Requested placeholders only.

request_idstring | null

Requested placeholders only.

missingobject[]required

Identifiers asked for that are not in the dataset yet.

Show item properties
identifierstringrequired
statusstringrequired

The request's status, e.g. sent.

request_idstringrequired
chargedobjectrequired
Show nested properties
lookupintegerrequired

Lookup checks this call charged.

as_ofstring | null
next_cursorstring | null
refreshobject | null

With refresh=now.

Show nested properties
queuedintegerrequired
chargedintegerrequired

Checks charged now.

skippedobject[]required
Show item properties
identifierstringrequired
reasonstringrequired

recent: refreshed on demand in the last hour (retry_at); pending: an agent change waits for its second read.

Allowed: "recent", "not_live", "pending", "not_followed"
retry_atstring | null
pollstringrequired

Where the new values appear: the dataset's changes after the latest change.

expected_bystring | null
202None of the identifiers asked for is in the dataset yet; each became a request (or is already one of your team's).
application/json
requestsobject[]required
Show item properties
identifierstringrequired
request_idstringrequired
statusstringrequired
statusstring
Default: "requested"
400Invalid request: a parameter failed validation (invalid_request, details.field).
application/json
errorstringrequired

A sentence for a person.

codestringrequired

A stable code: invalid_request, invalid_key, insufficient_checks, insufficient_scope, not_subscribed, not_found, identifier_not_found, correction_open, key_column, pending, rate_limited, refresh_too_soon, too_many_requests or datasets_off.

successboolean
Default: false
detailsobject | null

More about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.

401Missing, unknown or revoked key (invalid_key).
application/json
errorstringrequired

A sentence for a person.

codestringrequired

A stable code: invalid_request, invalid_key, insufficient_checks, insufficient_scope, not_subscribed, not_found, identifier_not_found, correction_open, key_column, pending, rate_limited, refresh_too_soon, too_many_requests or datasets_off.

successboolean
Default: false
detailsobject | null

More about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.

402Not enough checks left for the lookups this call needs (insufficient_checks); nothing is charged.
application/json
errorstringrequired

A sentence for a person.

codestringrequired

A stable code: invalid_request, invalid_key, insufficient_checks, insufficient_scope, not_subscribed, not_found, identifier_not_found, correction_open, key_column, pending, rate_limited, refresh_too_soon, too_many_requests or datasets_off.

successboolean
Default: false
detailsobject | null

More about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.

403The key lacks a scope (insufficient_scope), or the team does not subscribe (not_subscribed).
application/json
errorstringrequired

A sentence for a person.

codestringrequired

A stable code: invalid_request, invalid_key, insufficient_checks, insufficient_scope, not_subscribed, not_found, identifier_not_found, correction_open, key_column, pending, rate_limited, refresh_too_soon, too_many_requests or datasets_off.

successboolean
Default: false
detailsobject | null

More about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.

404Unknown dataset, row or request, or another team's (not_found).
application/json
errorstringrequired

A sentence for a person.

codestringrequired

A stable code: invalid_request, invalid_key, insufficient_checks, insufficient_scope, not_subscribed, not_found, identifier_not_found, correction_open, key_column, pending, rate_limited, refresh_too_soon, too_many_requests or datasets_off.

successboolean
Default: false
detailsobject | null

More about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.

429Over the key's per-minute limit (rate_limited), or every identifier was refreshed on demand in the last hour (refresh_too_soon); wait for Retry-After.
application/json
errorstringrequired

A sentence for a person.

codestringrequired

A stable code: invalid_request, invalid_key, insufficient_checks, insufficient_scope, not_subscribed, not_found, identifier_not_found, correction_open, key_column, pending, rate_limited, refresh_too_soon, too_many_requests or datasets_off.

successboolean
Default: false
detailsobject | null

More about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.

503The Datasets API is turned off (datasets_off).
application/json
errorstringrequired

A sentence for a person.

codestringrequired

A stable code: invalid_request, invalid_key, insufficient_checks, insufficient_scope, not_subscribed, not_found, identifier_not_found, correction_open, key_column, pending, rate_limited, refresh_too_soon, too_many_requests or datasets_off.

successboolean
Default: false
detailsobject | null

More about the error, e.g. the field that failed validation, or required, used and limit for insufficient_checks.

The API schema lists the responses above. Long-running operations can also return 202; see async jobs. For application errors, see errors & retries.