Search deposits

GET/deposits/search

Return 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.

    query is one or more clauses in the search query language, joined by AND or by OR. tx_id, from_address and to_address match a whole value with : or part of one with ~ (from_address~"8f3c"), ignoring case; network_id matches one chain by its numeric identifier (network_id:"60"); is_token_transfer takes "true" or "false"; and created bounds time (created>1767225600). A query the language does not take, a field or an operator outside these, or a value outside its field's set answers 400 parameter_invalid naming query, as does a query that matches so much history that its search outlasts the time a search is given; a first page without query answers 422 parameter_missing. A later page sends the next_page token back as page; the token carries the first page's query and limit, 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-Environment header before the query is read, so no query can widen it.

  • A resetting sandbox.

    While a sandbox's reset runs it answers 409 environment_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 by OR (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 description

    field:"value" matches the whole value, ignoring case; field~"part" matches a field holding part anywhere, ignoring case, and takes at least 3 characters; created>, created<, created>= and created<= 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 answer 400 parameter_invalid naming query. Every first page sends it: one without query answers 422 parameter_missing. On a later page the query travels inside the page token, so a request sending page may 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 422 parameter_invalid naming limit; it is never clamped.

  • pagestringoptional

    The opaque token of a search's next page, as next_page carries it. It holds the first page's query and limit: a request sending it may send them again unchanged, or leave them out.

    Show full description

    A token Stridge did not mint for this search and this environment, or a query or limit other than its own, answers 422 parameter_invalid naming 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 description

    It is required under a person's session, exactly as EnvironmentHeader describes: a session request that omits it answers 400 with environment required, and one naming an environment the caller holds no membership of answers 404.

    An API key names its own environment, so a request made with one omits this header. A key request that sends it answers 400 with environment 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

      true when environment_id names a live environment and false in 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 description

      null on 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.raw to balance.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. external is 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 description

      A deposit sent by a gas_station never 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, Z suffixed. The list is ordered on it, newest first, its created filters 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.

  • has_morebooleanrequired

    Whether the search matches more objects past this page.

  • next_pagestring | nullrequired

    The opaque token of the next page, sent back as page to read it; null on 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.

Request
curl "https://api.stridge.com/v2/deposits/search" \
  -H "Authorization: Bearer $STRIDGE_SECRET_KEY"

Set your secret key as STRIDGE_SECRET_KEY (sent as Authorization: Bearer).

Response200
"object": "search_result",
"id": "8b1d47c2-3e05-4a96-b7f2-1c9d0e4a63f8",
"object": "deposit",
"environment_id": "3f2a6d7e-6b1c-4f2a-9a11-0b53f8d6b2c1",
"livemode": false,
"owner": "customer_8412",
"tx_id": "0x4c1f8a2be9d7530c6a1f42b8e0d9376c5a2e1804f7b6c93d0a5e28f1b4c76d39",
"network_id": 60,
"network_symbol": "ETH",
"symbol": "USDC",
"asset": "USD Coin",
"contract_address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"decimals": 6,
"is_token_transfer": true,
"from_address": "0x7a5f2c81b93e4d6a0c1f8b25e73d940ab6c5e812",
"from_wallet_category": "external",
"to_address": "0x9f2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d",
"to_wallet_category": "uda",
"block_number": "19482013",
"scanner_url": "https://etherscan.io/tx/0x4c1f8a2be9d7530c6a1f42b8e0d9376c5a2e1804f7b6c93d0a5e28f1b4c76d39",
"time": "2026-06-17T14:22:09Z",
"raw": "1250000000",
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
},
"usd": "1250.00"
}
}
],
"has_more": false,
"next_page": "eyJ2IjoyfQ",
"url": "/v2/deposits/search"
}