Search deposits
/ deposits/ searchReturn the environment's deposits that match a search query, as a search result, {object, data, has_more, next_page, url}, newest first: ordered on time, as the list is.
The query.
queryis one or more clauses in the search query language, joined byANDor byOR.tx_id,from_addressandto_addressmatch a whole value with:or part of one with~(from_address~"8f3c"), ignoring case;network_idmatches one chain by its numeric identifier (network_id:"60");is_token_transfertakes"true"or"false"; andcreatedboundstime(created>1767225600). A query the language does not take, a field or an operator outside these, or a value outside its field's set answers400parameter_invalidnamingquery, as does a query that matches so much history that its search outlasts the time a search is given; a first page withoutqueryanswers422parameter_missing. A later page sends thenext_pagetoken back aspage; the token carries the first page's query andlimit, which the request may send again unchanged or leave out.The same deposits as the list.
Deposits originating from a gas station are on no page, and the environment is resolved from the credential and the
X-Stridge-Environmentheader before the query is read, so no query can widen it.A resetting sandbox.
While a sandbox's reset runs it answers
409environment_resetting: nothing is served for a sandbox until its reset finishes.
Parameters
Query
- querystringoptional
The search, in the search query language: one or more clauses joined by
AND, or byOR(either keyword in upper or lower case), never both in one query, at most 10 clauses. A clause is a field, an operator and a value with no space between them.Show full descriptionShow less
field:"value"matches the whole value, ignoring case;field~"part"matches a field holdingpartanywhere, ignoring case, and takes at least 3 characters;created>,created<,created>=andcreated<=bound the creation time, given as a Unix timestamp in seconds from 0 to 253402300799 (created>1767225600) or as a quoted RFC 3339 instant (created>="2026-01-01T00:00:00Z"). Inside quotes,\"is a quote and\\a backslash. The operation names the fields its query may use. An unknown field, an operator the field does not take, a value outside the field's set, a query that does not parse, one longer than 1000 characters, and one that is not UTF-8 or holds a NUL character answer400parameter_invalidnamingquery. Every first page sends it: one withoutqueryanswers422parameter_missing. On a later page the query travels inside the page token, so a request sendingpagemay send it again unchanged or leave it out. - limitinteger <int32>optionaldefault 20
The page size. A value that is not an integer from 1 to the maximum answers
422parameter_invalidnaminglimit; it is never clamped. - pagestringoptional
The opaque token of a search's next page, as
next_pagecarries it. It holds the first page'squeryandlimit: a request sending it may send them again unchanged, or leave them out.Show full descriptionShow less
A token Stridge did not mint for this search and this environment, or a
queryorlimitother than its own, answers422parameter_invalidnaming that parameter.
Headers
- X-Stridge-Environmentstring <uuid>optional
Which environment the request acts inside, on an operation a session and an API key both call. Learn more
Show full descriptionShow less
It is required under a person's session, exactly as
EnvironmentHeaderdescribes: a session request that omits it answers400withenvironment required, and one naming an environment the caller holds no membership of answers404.An API key names its own environment, so a request made with one omits this header. A key request that sends it answers
400withenvironment header not accepted, whatever it names, rather than having the header ignored: a header that is silently ignored hides the integration bug that sent it.
Responses
The page of deposits that match the query.
- objectstringrequiredenum search_result
The object's type, always
search_result. - idstring <uuid>required
The deposit's opaque identifier.
- objectstringrequired
The object's type, always
deposit. - environment_idstring <uuid>required
The environment this deposit is scoped to. It is carried on the object rather than implied by the request, so the scope a client rendered is the scope the server answered in.
- livemodebooleanrequired
truewhenenvironment_idnames aliveenvironment andfalsein a sandbox. It is carried on the object itself, so a payload read on its own, a logged response or a webhook body, still says which side of the boundary it came from. - ownerstring | nullrequired
Who the receiving address was assigned to, as the caller named them at assignment. It is the caller's own identifier for a customer rather than anything this API mints, so it is free text.
Show full descriptionShow less
nullon an address no caller named: one assigned to nobody, or the environment's vault or gas station. - tx_idstringrequired
The on-chain transaction hash that carried the deposit, or empty where the chain reported the credit without one.
- network_idinteger <int32>required
The chain the deposit landed on, as the chain's own numeric identifier. It is not a UUID and it addresses nothing in this API: a client resolves it against the network catalogue.
- network_symbolstringrequired
The chain's ticker, or empty where the network catalogue holds no symbol for it. A client renders the fallback rather than the empty string.
- symbolstringrequired
The asset's ticker, or empty where the token registry does not recognise the contract. An unrecognised asset is still a real deposit, which is why it is reported rather than dropped.
- assetstringrequired
The asset's name, or empty alongside an unrecognised
symbol. - contract_addressstringrequired
The asset's contract on that chain, or the chain's native-asset sentinel where the deposit was the chain's own coin.
- decimalsinteger <int32>required
How many decimal places the asset carries, which is what scales
balance.rawtobalance.amount.amount_decimal. - is_token_transferbooleanrequired
Whether the deposit moved a token rather than the chain's native coin.
- from_addressstringrequired
Where the money came from, or empty where the chain reported no sender (a coinbase or a consolidated input).
- from_wallet_categorystringrequiredenum external · vault · gas_station · uda
What kind of address sent it.
externalis an address this API version does not manage: one outside Stridge, or one of the environment's own addresses of a kind this version has no surface for. Every other value names a kind it does manage.Show full descriptionShow less
A deposit sent by a
gas_stationnever appears on this surface. - to_addressstringrequired
The address the deposit was credited to.
- to_wallet_categorystringrequiredenum vault · gas_station · uda
What kind of address received it. Always a kind this API version manages: a deposit is only observed on an address Stridge watches, and one received by an address of a kind this version has no surface for never appears on it.
- block_numberstringrequired
The block the transaction was included in, as a decimal string because block heights on some chains exceed what a double represents exactly. Empty where the chain reported no height.
- scanner_urlstringrequired
A block-explorer link for the transaction, or empty where no explorer is known for the chain. A client renders the link only when there is one.
- timestring <date-time>required
When the deposit was observed on chain. RFC3339 UTC,
Zsuffixed. The list is ordered on it, newest first, itscreatedfilters bound it, and the aggregate buckets on it. What the deposit was worth, three ways: the on-chain integer, the same figure scaled by the asset's decimals for display, and the USD Stridge valued it at when it landed.
- idstring <uuid>required
- has_morebooleanrequired
Whether the search matches more objects past this page.
- next_pagestring | nullrequired
The opaque token of the next page, sent back as
pageto read it;nullon the last page. - urlstringrequired
The path the search is read at.
Errors
The error.code values this operation can return. Each one links to its entry in the error catalogue, which explains the cause and the fix.
- 400environment_requiredEnvironment required
- 400header_invalidInvalid header
- 400422parameter_invalidInvalid parameter
- 400parameter_unknownUnknown parameter
- 401api_key_not_acceptedAPI key not accepted
- 401authentication_requiredAuthentication required
- 401publishable_key_not_acceptedPublishable key not accepted
- 401token_invalidInvalid or expired token
- 403membership_suspendedMembership suspended
- 403permission_deniedPermission denied
- 404environment_not_foundEnvironment not found
- 409environment_provisioningEnvironment provisioning
- 409environment_resettingEnvironment resetting
- 422parameter_missingMissing parameter
- 429rate_limitedToo many requests