Skip to main content

Multi Lookup

Fetch the latest FastData row for up to 100 keys in a single request.

Network
FastNear API keyNo saved key
Get API key
Endpointhttps://kv.main.fastnear.com
Authnone detected
Live Response

Responses from the selected endpoint appear here after you run a request.

Live response output will appear here after you run a request.

Request reference

application/json

This operation performs POST /v0/multi with an application/json request body.

Required request inputs: yes

POST /v0/multi
{
  "include_metadata": true,
  "keys": [
    "social.near/james.near/graph/follow/sleet.near",
    "social.near/james.near/graph/follow/missing"
  ]
}

Request body schema

objectMultiRequest
requires keys
include_metadataboolean

Include receipt and signer metadata in each entry.

Default: false

keys *array

Fully qualified keys in current_account_id/predecessor_id/key form.

itemsstring

Response reference

200 application/json

Latest rows for the requested keys

Response schema

objectMultiResponse
requires entries
entries *array
itemsone of
object
object
requires predecessor_id, current_account_id, block_height, block_timestamp, key, value
action_indexinteger
block_height *integer
block_timestamp *integer
current_account_id *string
key *string
predecessor_id *string
receipt_idstring
signer_idstring
tx_hashstring
value *value

Raw JSON value as stored in FastData.

null
value
null