{"openapi":"3.0.3","info":{"title":"hiddenfunds API","version":"1.0.0","description":"A read-only HTTP API for wallet checks, findings, recovery guides and source positions."},"servers":[{"url":"https://api.hiddenfunds.xyz"}],"tags":[{"name":"Wallets","description":"Check wallets and read their findings."},{"name":"Sources","description":"Read recovery guides and the positions of a source."}],"paths":{"/v1/check":{"get":{"operationId":"checkWallets","tags":["Wallets"],"summary":"Check wallets","description":"Returns the number of findings and the counted USD total for each wallet.\n\nResults follow the order of your addresses, with repeats removed. They do not include the addresses, so match them by position.\n\ncountedUsd sums counted, unclaimed findings. It is null if one of them has no price. A wallet with no findings returns 0 and \"0\".\n\nAccepted formats: EVM, Sui/Aptos, raw TON, TRON, Bitcoin, Tezos, Algorand, NEAR, Polkadot/Kusama and Solana.","parameters":[{"$ref":"#/components/parameters/Addresses"}],"responses":{"200":{"description":"Returns the number of findings and the counted USD total for each wallet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Check"},"example":{"snapshot":"synthetic-revision","asOf":"2026-01-01T00:00:00.000Z","results":[{"findingCount":2,"countedUsd":"123456789012345678.123456789"},{"findingCount":1,"countedUsd":null},{"findingCount":0,"countedUsd":"0"},{"findingCount":4,"countedUsd":"14.75"}]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"414":{"$ref":"#/components/responses/UriTooLong"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/v1/findings":{"get":{"operationId":"listWalletFindings","tags":["Wallets"],"summary":"Wallet findings","description":"Returns one wallet's findings, 25 per page.\n\nSend nextCursor back unchanged, with the same address. null means the last page. Cursors are opaque and unsigned.\n\n409 means the data was republished while you paged. Start again without a cursor.\n\nisClaimed true means the position was claimed. It stays in the list but is left out of countedUsd.\n\nref, when present, lists public chain values of the source row by column name, such as tx_hash or contract.\n\nGet the recovery guide for a finding with its sourceId.","parameters":[{"$ref":"#/components/parameters/Address"},{"$ref":"#/components/parameters/Cursor"}],"responses":{"200":{"description":"Returns one wallet's findings, 25 per page.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Findings"},"example":{"snapshot":"synthetic-revision","items":[{"sourceId":1,"chain":"ethereum","asset":"ETH","amount":"1","usdValue":"123456789012345678.123456789","counted":true,"recoverability":"self","isClaimed":false,"ref":{"tx_hash":"0xa1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1"}},{"sourceId":1,"chain":"ethereum","asset":"ETH","amount":"2","usdValue":null,"counted":false,"recoverability":"self","isClaimed":false,"ref":{"tx_hash":"0xa2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2"}}],"nextCursor":null}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"414":{"$ref":"#/components/responses/UriTooLong"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/v1/sources/{id}":{"get":{"operationId":"getSourceGuide","tags":["Sources"],"summary":"Recovery guide","description":"Returns a source's recovery guide: who can recover, the steps and the official links.\n\nThis route does not use the script lane. Guide text is in English.\n\nrecoverUrl and docsUrl can be null.","parameters":[{"$ref":"#/components/parameters/SourceId"}],"responses":{"200":{"description":"Returns a source's recovery guide: who can recover, the steps and the official links.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Guide"},"example":{"slug":"across-unfilled","name":"Across deposit never filled","protocol":"Across","group":"bridges","who":"team","summary":"You sent a deposit through Across but nobody filled it on the other chain. Expired deposits are refunded by Across in batches. If no refund arrived long after expiry, contact Across support.","steps":["Find your deposit transaction hash on the origin chain explorer.","Look up the hash in the Across Deposit Status Tracker (linked in the Across docs). Status 'expired' means the refund is queued.","Refunds go through batches that take several hours. If nothing arrives long after expiry, send the hash to Across support.","No refund address was set? The refund goes to the depositor address."],"recoverUrl":"https://across.to","recoverUrlLabel":"Across","docsUrl":"https://docs.across.to/introduction/refunds"}}}},"404":{"$ref":"#/components/responses/NotFound"},"414":{"$ref":"#/components/responses/UriTooLong"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/v1/sources/{id}/positions":{"get":{"operationId":"listSourcePositions","tags":["Sources"],"summary":"Source positions","description":"Returns one page of a source's positions, 50 rows per page.\n\nEvery request uses the script lane, with or without q.\n\nClaimed positions are included, with isClaimed true.\n\nref, when present, lists public chain values of the source row by column name, such as tx_hash or contract.\n\nhasNext is false on page 200, even if more rows exist.\n\nIf snapshot changes between pages, start again from page 1.","parameters":[{"$ref":"#/components/parameters/SourceId"},{"$ref":"#/components/parameters/Chain"},{"$ref":"#/components/parameters/Asset"},{"$ref":"#/components/parameters/MinUsd"},{"$ref":"#/components/parameters/Wallet"},{"$ref":"#/components/parameters/From"},{"$ref":"#/components/parameters/To"},{"$ref":"#/components/parameters/Order"},{"$ref":"#/components/parameters/Page"}],"responses":{"200":{"description":"Returns one page of a source's positions, 50 rows per page.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Positions"},"example":{"snapshot":"synthetic-revision","rows":[{"address":"0x5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a","chain":"ethereum","asset":"USDC","amount":null,"usdValue":"100","recoverability":"user","counted":true,"at":"2026-01-10T08:00:00.000Z","isClaimed":false,"ref":{"contract":"0x5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e"}}],"hasNext":false}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"414":{"$ref":"#/components/responses/UriTooLong"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}}},"components":{"schemas":{"Money":{"type":"string","pattern":"^-?[0-9]+(?:\\.[0-9]+)?$","nullable":true,"description":"Decimal number as a string. null means unknown, not zero."},"WalletSummary":{"type":"object","description":"One wallet's result.","properties":{"findingCount":{"type":"integer","minimum":0,"description":"Findings for the wallet, claimed ones included."},"countedUsd":{"type":"string","pattern":"^-?[0-9]+(?:\\.[0-9]+)?$","nullable":true,"description":"USD total of counted, unclaimed findings. null if one of them has no price."}},"required":["findingCount","countedUsd"],"additionalProperties":false},"Check":{"type":"object","description":"Wallet summaries in the order of the request, repeats removed.","properties":{"snapshot":{"type":"string","description":"Revision of the published data. The same value as manifest.revision in the dashboard files."},"asOf":{"type":"string","description":"Date of the data this revision was built from.","nullable":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/WalletSummary"},"description":"One summary per distinct address.","maxItems":250}},"required":["snapshot","asOf","results"],"additionalProperties":false},"Finding":{"type":"object","description":"One position held by the wallet.","properties":{"sourceId":{"type":"integer","minimum":1,"description":"Source id. Use it with GET /v1/sources/{id}."},"chain":{"type":"string","description":"Chain name as the source writes it.","nullable":true},"asset":{"type":"string","description":"Asset symbol as the source writes it.","nullable":true},"amount":{"$ref":"#/components/schemas/Money"},"usdValue":{"$ref":"#/components/schemas/Money"},"recoverability":{"type":"string","description":"Who can recover the position, as the source labels it.","nullable":true},"counted":{"type":"boolean","description":"True when the value counts toward countedUsd."},"isClaimed":{"type":"boolean","description":"True when the position was confirmed claimed. Claimed positions stay listed but are not counted."},"claimUrl":{"type":"string","description":"Claim page for this chain, when the source has one."},"ref":{"type":"object","additionalProperties":{"type":"string"},"description":"Public chain values of the source row, such as tx_hash or contract, by column name. Left out when the row has none."}},"required":["sourceId","chain","asset","amount","usdValue","recoverability","counted","isClaimed"],"additionalProperties":false},"Findings":{"type":"object","description":"One page of a wallet's findings.","properties":{"snapshot":{"type":"string","description":"Revision of the published data. The same value as manifest.revision in the dashboard files."},"items":{"type":"array","items":{"$ref":"#/components/schemas/Finding"},"description":"Findings in stable order.","maxItems":25},"nextCursor":{"type":"string","description":"Send as cursor to get the next page. null on the last page.","nullable":true}},"required":["snapshot","items","nextCursor"],"additionalProperties":false},"Guide":{"type":"object","description":"How to recover funds from one source.","properties":{"slug":{"type":"string","description":"Source slug."},"name":{"type":"string","description":"Source name."},"protocol":{"type":"string","description":"Protocol name."},"group":{"type":"string","description":"Source group."},"who":{"type":"string","description":"Who can recover."},"summary":{"type":"string","description":"What happened and what to do."},"steps":{"type":"array","items":{"type":"string"},"description":"Recovery steps, in order."},"recoverUrl":{"type":"string","description":"Official page to recover funds.","nullable":true},"recoverUrlLabel":{"type":"string","description":"Label for recoverUrl.","nullable":true},"docsUrl":{"type":"string","description":"Official documentation.","nullable":true},"docsUrlLabel":{"type":"string","description":"Label for docsUrl.","nullable":true}},"required":["slug","name","protocol","group","who","summary","steps","recoverUrl","recoverUrlLabel","docsUrl"],"additionalProperties":false},"Position":{"type":"object","description":"One position of a source.","properties":{"address":{"type":"string","description":"Wallet address."},"chain":{"type":"string","description":"Chain name as the source writes it.","nullable":true},"asset":{"type":"string","description":"Asset symbol as the source writes it.","nullable":true},"amount":{"$ref":"#/components/schemas/Money"},"usdValue":{"$ref":"#/components/schemas/Money"},"recoverability":{"type":"string","description":"Who can recover the position, as the source labels it.","nullable":true},"counted":{"type":"boolean","description":"True when the value counts toward countedUsd."},"isClaimed":{"type":"boolean","description":"True when the position was confirmed claimed. Claimed positions stay listed but are not counted."},"claimUrl":{"type":"string","description":"Claim page for this chain, when the source has one."},"ref":{"type":"object","additionalProperties":{"type":"string"},"description":"Public chain values of the source row, such as tx_hash or contract, by column name. Left out when the row has none."},"at":{"type":"string","description":"Date of the position. What it means depends on the source.","nullable":true}},"required":["address","chain","asset","amount","usdValue","recoverability","counted","isClaimed","at"],"additionalProperties":false},"Positions":{"type":"object","description":"One page of a source's positions.","properties":{"snapshot":{"type":"string","description":"Revision of the published data. The same value as manifest.revision in the dashboard files."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Position"},"description":"Positions in the requested order.","maxItems":50},"hasNext":{"type":"boolean","description":"True when another page exists. Always false on page 200."}},"required":["snapshot","rows","hasNext"],"additionalProperties":false}},"parameters":{"Addresses":{"name":"address","in":"query","required":true,"schema":{"type":"array","minItems":1,"maxItems":250,"items":{"type":"string"}},"style":"form","explode":true,"description":"Wallet address. Repeat the parameter for up to 250 wallets."},"Address":{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"One wallet address."},"Cursor":{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"nextCursor from the previous page."},"SourceId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1,"maximum":32767},"description":"sourceId from a finding."},"Chain":{"name":"chain","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":120},"description":"Exact chain name, case-sensitive."},"Asset":{"name":"asset","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":120},"description":"Exact asset symbol, case-sensitive."},"MinUsd":{"name":"min","in":"query","required":false,"schema":{"type":"integer","enum":[0,1,10,100,1000,10000],"default":0},"description":"Minimum USD value. Above 0, rows without a price are left out."},"Wallet":{"name":"q","in":"query","required":false,"schema":{"type":"string"},"description":"One wallet address. Counts as one wallet."},"From":{"name":"from","in":"query","required":false,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"description":"First UTC day, included. Rows without a date are left out."},"To":{"name":"to","in":"query","required":false,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"description":"UTC day after the last one, not included. Needs from."},"Order":{"name":"dir","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"description":"desc: largest USD first, rows without a price last. asc: smallest first, rows without a price left out."},"Page":{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":1},"description":"Page number."}},"responses":{"BadRequest":{"description":"A parameter is unknown, repeated, empty or invalid. Fix the request."},"Forbidden":{"description":"The cf-turnstile-response header failed the browser check. Scripts do not need this header."},"NotFound":{"description":"No published source has this id."},"Conflict":{"description":"Findings were republished while you paged. Start again without a cursor."},"UriTooLong":{"description":"The path and query are longer than 25000 bytes. Send fewer addresses."},"TooManyRequests":{"description":"A rate limit was reached. Wait Retry-After seconds.","headers":{"Retry-After":{"$ref":"#/components/headers/RetryAfter"}}},"ServiceUnavailable":{"description":"The server is busy or the data is not available. Wait Retry-After seconds.","headers":{"Retry-After":{"$ref":"#/components/headers/RetryAfter"}}}},"headers":{"RetryAfter":{"description":"Seconds to wait before you retry.","schema":{"type":"integer","minimum":1}}}},"x-access-limits":{"apiBatch":250,"targetBytes":25000,"networkRequests":120,"networkWallets":1000,"scriptRequests":50,"scriptInFlight":10,"findingsPage":25,"positionsPage":50,"lastPage":200}}