{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}
{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}
{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}
{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}
{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}
Wallet
Get wallet
Get the caller’s wallet: current balance, auto-reload configuration, per-product contract rates, and any in-flight top-up.
GET
/
v1
/
wallet
Get wallet
curl --request GET \ --url https://agent.tinyfish.ai/v1/wallet \ --header 'X-API-Key: <api-key>'
{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}
{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}
{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}
{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}
{
"error": {
"code": "INVALID_INPUT",
"message": "Field \"url\" is required and must be a string",
"details": "<unknown>"
},
"request_id": "8f9dba20-e37b-4749-a919-2269e28b4a2c"
}
Present when an agent can add funds itself: POST here and pay the 402 MPP challenge.
Example:
"https://agent.tinyfish.ai/v1/wallet/top-up"
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"TinyFish","colors":{"primary":"#D74B28","light":"#D74B28","dark":"#D74B28"},"logo":{"light":"https://mintcdn.com/tinyfish/SAWuKzAHuR-ZMRAB/logo/TF_Horizontal.svg?fit=max\u0026auto=format\u0026n=SAWuKzAHuR-ZMRAB\u0026q=85\u0026s=3ff7a57ebbe744005f4f984e986f16b9","dark":"https://mintcdn.com/tinyfish/VrMSbq950IKhOmzd/logo/dark.svg?fit=max\u0026auto=format\u0026n=VrMSbq950IKhOmzd\u0026q=85\u0026s=78303ae67f6f601a47cdfd79f978f941","href":"https://agent.tinyfish.ai"},"favicon":"https://mintcdn.com/tinyfish/SAWuKzAHuR-ZMRAB/logo/TF_ICON.svg?fit=max\u0026auto=format\u0026n=SAWuKzAHuR-ZMRAB\u0026q=85\u0026s=9151d20cf17b84686c03e299a8997a32","navbar":{"primary":{"type":"button","label":"Get API Key","href":"https://agent.tinyfish.ai/api-keys"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/tinyfish-ai","x":"https://x.com/Tiny_Fish","discord":"https://discord.gg/tinyfish","youtube":"https://www.youtube.com/@TinyFish-AI"}},"integrations":{"ga4":{"measurementId":"G-P52K96QP6R"},"posthog":{"apiKey":"phc_NJaHVgJntoRghYPq3Q92cniMBBbLRh4cE2S5xX1XVyL"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tinyfish","hasAudioNarration":false,"actualSubdomain":"tinyfish","customDomains":["docs.tinyfish.ai"],"gitSource":{"type":"github","owner":"tinyfish-io","repo":"ux-labs","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6af2bc1934fcc4120bf58c44","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":84},{"language":"default","tag":"Documentation","count":70},{"language":"default","tag":"TinyAgent \u0026 Runs","count":28},{"language":"default","tag":"Agent","count":25},{"language":"default","tag":"How-to","count":12},{"language":"default","tag":"Browser Context Profiles","count":10},{"language":"default","tag":"Datasets","count":9},{"language":"default","tag":"Tools \u0026 Integrations","count":8},{"language":"default","tag":"Monitor","count":8},{"language":"default","tag":"Reference","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"li[id=\"/agent\"]>button,li[id=\"/account-billing\"]>button{font-weight:600}li[id=\"/agent\"][data-active]>button,li[id=\"/account-billing\"][data-active]>button{background-color:color-mix(in oklab, rgb(var(--primary)) 10%, transparent);color:rgb(var(--primary))}li[id=\"/agent\"][data-active]>button svg:not(.transition-transform),li[id=\"/account-billing\"][data-active]>button svg:not(.transition-transform){background-color:rgb(var(--primary))}li[id=\"/agent\"][data-active]>button svg.transition-transform,li[id=\"/account-billing\"][data-active]>button svg.transition-transform{color:rgb(var(--gray-400))}:is(.dark) li[id=\"/agent\"][data-active]>button,:is(.dark) li[id=\"/account-billing\"][data-active]>button{background-color:color-mix(in oklab, rgb(var(--primary-light)) 10%, transparent);color:rgb(var(--primary-light))}:is(.dark) li[id=\"/agent\"][data-active]>button svg:not(.transition-transform),:is(.dark) li[id=\"/account-billing\"][data-active]>button svg:not(.transition-transform){background-color:rgb(var(--primary-light))}:is(.dark) li[id=\"/agent\"][data-active]>button svg.transition-transform,:is(.dark) li[id=\"/account-billing\"][data-active]>button svg.transition-transform{color:rgb(var(--gray-500))}"}],"page":{"pagePath":"api-reference/wallet/get-wallet","slug":"/api-reference/wallet/get-wallet","pageMetadata":{"title":"Get wallet","description":"Get the caller's wallet: current balance, auto-reload configuration, per-product contract rates, and any in-flight top-up.","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/wallet","href":"/api-reference/wallet/get-wallet","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get the caller’s wallet: current balance, auto-reload configuration, per-product contract rates, and any in-flight top-up.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get wallet","description":"Get the caller's wallet: current balance, auto-reload configuration, per-product contract rates, and any in-flight top-up.","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/wallet","href":"/api-reference/wallet/get-wallet","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getWallet","description":"Get the caller's wallet: current balance, auto-reload configuration, per-product contract rates, and any in-flight top-up.","summary":"Get wallet","tags":["Wallet"],"security":["6194ea7d-35eb-4bec-91d6-d1952b5a4e00"],"responses":{"200":"4fee40ef-c3b4-421a-8056-65eb9a05c773","401":"593df400-deba-410f-9a4d-ed8bd58706a4","403":"12099396-5d4b-493f-b90b-29d3c567c83b","404":"007240f1-1874-4ed0-84e1-0952248bab41","500":"663a2811-5bd3-4752-baaa-e3a48c4cba8b","503":"52df731a-a946-4872-b058-4716ed4e60ff"},"method":"get","type":"path","servers":["c7913d46-c406-46be-8206-6c7d5c913133"],"path":"/v1/wallet","baseUrlOptions":["https://agent.tinyfish.ai"],"title":"Get wallet","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"4fee40ef-c3b4-421a-8056-65eb9a05c773":{"description":"Wallet details","content":{"application/json":{"schema":{"type":"object","properties":{"available_balance":{"type":"string","pattern":"^-?(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Current spendable balance, denominated in `currency`. A negative value means the wallet is overdrawn.","example":"21.44","isRequired":true,"uniqueKey":"available_balance","typeLabel":"string"},"currency":{"type":"string","enum":["USD"],"example":"USD","isRequired":true,"uniqueKey":"currency","typeLabel":"enum\u003cstring>"},"as_of":{"type":"string","format":"date-time","example":"2026-08-10T18:04:11.220Z","isRequired":true,"uniqueKey":"as_of","typeLabel":"string\u003cdate-time>"},"auto_reload":{"oneOf":[{"type":"object","description":"null means the auto-reload contract read failed, not that it is unconfigured.","required":["state"],"properties":{"state":{"type":"string","enum":["unconfigured"],"isRequired":true,"uniqueKey":"auto_reload.oneOf.0.state","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"auto_reload.oneOf.0","typeLabel":"object"},{"type":"object","description":"null means the auto-reload contract read failed, not that it is unconfigured.","required":["state","threshold","recharge_to"],"properties":{"state":{"type":"string","enum":["on"],"isRequired":true,"uniqueKey":"auto_reload.oneOf.1.state","typeLabel":"enum\u003cstring>"},"threshold":{"type":"string","pattern":"^(?=.*[1-9])(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Balance floor that triggers a reload, denominated in the response's `currency`.","example":"5.00","isRequired":true,"uniqueKey":"auto_reload.oneOf.1.threshold","typeLabel":"string"},"recharge_to":{"type":"string","pattern":"^(?=.*[1-9])(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Balance the wallet is topped up to when a reload triggers, denominated in the response's `currency`.","example":"25.00","isRequired":true,"uniqueKey":"auto_reload.oneOf.1.recharge_to","typeLabel":"string"}},"isRequired":true,"uniqueKey":"auto_reload.oneOf.1","typeLabel":"object"},{"type":"object","description":"null means the auto-reload contract read failed, not that it is unconfigured.","required":["state","threshold","recharge_to"],"properties":{"state":{"type":"string","enum":["off"],"isRequired":true,"uniqueKey":"auto_reload.oneOf.2.state","typeLabel":"enum\u003cstring>"},"threshold":{"type":"string","pattern":"^(?=.*[1-9])(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Balance floor that triggers a reload, denominated in the response's `currency`.","example":"5.00","isRequired":true,"uniqueKey":"auto_reload.oneOf.2.threshold","typeLabel":"string"},"recharge_to":{"type":"string","pattern":"^(?=.*[1-9])(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Balance the wallet is topped up to when a reload triggers, denominated in the response's `currency`.","example":"25.00","isRequired":true,"uniqueKey":"auto_reload.oneOf.2.recharge_to","typeLabel":"string"}},"isRequired":true,"uniqueKey":"auto_reload.oneOf.2","typeLabel":"object"},{"type":"object","description":"null means the auto-reload contract read failed, not that it is unconfigured.","required":["state","threshold","recharge_to"],"properties":{"state":{"type":"string","enum":["paused_payment_failed"],"isRequired":true,"uniqueKey":"auto_reload.oneOf.3.state","typeLabel":"enum\u003cstring>"},"threshold":{"type":"string","pattern":"^(?=.*[1-9])(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Balance floor that triggers a reload, denominated in the response's `currency`.","example":"5.00","isRequired":true,"uniqueKey":"auto_reload.oneOf.3.threshold","typeLabel":"string"},"recharge_to":{"type":"string","pattern":"^(?=.*[1-9])(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Balance the wallet is topped up to when a reload triggers, denominated in the response's `currency`.","example":"25.00","isRequired":true,"uniqueKey":"auto_reload.oneOf.3.recharge_to","typeLabel":"string"}},"isRequired":true,"uniqueKey":"auto_reload.oneOf.3","typeLabel":"object"},{"type":"object","description":"null means the auto-reload contract read failed, not that it is unconfigured.","required":["state","threshold","recharge_to"],"properties":{"state":{"type":"string","enum":["needs_payment_method"],"isRequired":true,"uniqueKey":"auto_reload.oneOf.4.state","typeLabel":"enum\u003cstring>"},"threshold":{"type":"string","pattern":"^(?=.*[1-9])(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Balance floor that triggers a reload, denominated in the response's `currency`.","example":"5.00","isRequired":true,"uniqueKey":"auto_reload.oneOf.4.threshold","typeLabel":"string"},"recharge_to":{"type":"string","pattern":"^(?=.*[1-9])(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Balance the wallet is topped up to when a reload triggers, denominated in the response's `currency`.","example":"25.00","isRequired":true,"uniqueKey":"auto_reload.oneOf.4.recharge_to","typeLabel":"string"}},"isRequired":true,"uniqueKey":"auto_reload.oneOf.4","typeLabel":"object"},{"description":"null means the auto-reload contract read failed, not that it is unconfigured.","isRequired":true,"uniqueKey":"auto_reload.oneOf.5","typeLabel":"any"},{"type":"null","description":"null means the auto-reload contract read failed, not that it is unconfigured.","isRequired":true,"uniqueKey":"auto_reload.oneOf.6","typeLabel":"null"}],"isRequired":true,"uniqueKey":"auto_reload","typeLabel":"object · object · object · object · object · any · null"},"pending_top_up":{"oneOf":[{"type":"object","properties":{"amount":{"type":"string","pattern":"^(?=.*[1-9])(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Amount of the in-flight top-up, denominated in the response's `currency`.","example":"50.00","isRequired":true,"uniqueKey":"pending_top_up.oneOf.0.amount","typeLabel":"string"},"started_at":{"type":"string","format":"date-time","example":"2026-08-10T18:02:55.000Z","isRequired":true,"uniqueKey":"pending_top_up.oneOf.0.started_at","typeLabel":"string\u003cdate-time>"}},"required":["amount","started_at"],"description":"null means no in-flight top-up, or the ledger read failed.","isRequired":true,"uniqueKey":"pending_top_up.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"amount":{"type":"string","pattern":"^(?=.*[1-9])(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Amount of the in-flight top-up, denominated in the response's `currency`.","example":"50.00"},"started_at":{"type":"string","format":"date-time","example":"2026-08-10T18:02:55.000Z"}},"required":["amount","started_at"],"description":"null means no in-flight top-up, or the ledger read failed.","isRequired":true,"uniqueKey":"pending_top_up.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"pending_top_up","typeLabel":"object | null"},"rates":{"oneOf":[{"type":"object","properties":{"meters":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","description":"Human-readable meter label.","example":"Agent steps","isRequired":true,"uniqueKey":"rates.oneOf.0.meters.items.[INDEX].label","typeLabel":"string"},"unit_amount":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Per-unit rate, decimal USD string.","example":"0.016000","isRequired":true,"uniqueKey":"rates.oneOf.0.meters.items.[INDEX].unit_amount","typeLabel":"string"},"currency":{"type":"string","enum":["USD"],"example":"USD","isRequired":true,"uniqueKey":"rates.oneOf.0.meters.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"per":{"type":"string","description":"Billable unit this meter charges per (e.g. \"step\"). Absent when unlabeled.","example":"step","uniqueKey":"rates.oneOf.0.meters.items.[INDEX].per","typeLabel":"string"}},"required":["label","unit_amount","currency"],"description":"One priced product on the caller's rate contract.","uniqueKey":"rates.oneOf.0.meters.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"rates.oneOf.0.meters","typeLabel":"object[]"},"as_of":{"type":"string","format":"date-time","example":"2026-08-10T18:04:11.220Z","isRequired":true,"uniqueKey":"rates.oneOf.0.as_of","typeLabel":"string\u003cdate-time>"}},"required":["meters","as_of"],"description":"null means the rates read failed, or the wallet has no rate contract yet.","isRequired":true,"uniqueKey":"rates.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"meters":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","description":"Human-readable meter label.","example":"Agent steps"},"unit_amount":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$","description":"Per-unit rate, decimal USD string.","example":"0.016000"},"currency":{"type":"string","enum":["USD"],"example":"USD"},"per":{"type":"string","description":"Billable unit this meter charges per (e.g. \"step\"). Absent when unlabeled.","example":"step"}},"required":["label","unit_amount","currency"],"description":"One priced product on the caller's rate contract."}},"as_of":{"type":"string","format":"date-time","example":"2026-08-10T18:04:11.220Z"}},"required":["meters","as_of"],"description":"null means the rates read failed, or the wallet has no rate contract yet.","isRequired":true,"uniqueKey":"rates.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"rates","typeLabel":"object | null"},"agent_top_up_url":{"type":"string","format":"uri","description":"Present when an agent can add funds itself: POST here and pay the 402 MPP challenge.","example":"https://agent.tinyfish.ai/v1/wallet/top-up","uniqueKey":"agent_top_up_url","typeLabel":"string\u003curi>"}},"required":["available_balance","currency","as_of","auto_reload","pending_top_up","rates"],"description":"Wallet balance, auto-reload, per-product rates, and any in-flight top-up.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"available_balance":"21.44","currency":"USD","as_of":"2026-08-10T18:04:11.220Z","auto_reload":{"state":"unconfigured"},"pending_top_up":{"amount":"50.00","started_at":"2026-08-10T18:02:55.000Z"},"rates":{"meters":[{"label":"Agent steps","unit_amount":"0.016000","currency":"USD","per":"step"}],"as_of":"2026-08-10T18:04:11.220Z"},"agent_top_up_url":"https://agent.tinyfish.ai/v1/wallet/top-up"}}},"exampleType":"generated"}},"exampleType":"generated"},"593df400-deba-410f-9a4d-ed8bd58706a4":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["MISSING_API_KEY","INVALID_API_KEY","INVALID_INPUT","RATE_LIMIT_EXCEEDED","DAILY_LIMIT_EXCEEDED","INTERNAL_ERROR","RETRY_REQUIRED","UNAUTHORIZED","VAULT_RECONNECT_REQUIRED","FORBIDDEN","NOT_FOUND","FEATURE_NOT_AVAILABLE","SERVICE_BUSY","TIMEOUT","INSUFFICIENT_CREDITS","FREE_ALLOWANCE_EXHAUSTED","CONTENT_POLICY_VIOLATION","MAX_STEPS_EXCEEDED","SITE_BLOCKED","TASK_FAILED","CANCELLED"],"description":"Machine-readable error code","example":"INVALID_INPUT","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Field \"url\" is required and must be a string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (validation errors, etc.)","uniqueKey":"error.details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (validation errors, etc.)","type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"any | null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request correlation ID, also returned as the X-Request-ID response header. Include it when reporting issues.","example":"8f9dba20-e37b-4749-a919-2269e28b4a2c","uniqueKey":"request_id","typeLabel":"string"}},"required":["error"],"description":"Standard error response format","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_INPUT","message":"Field \"url\" is required and must be a string","details":"\u003cunknown>"},"request_id":"8f9dba20-e37b-4749-a919-2269e28b4a2c"}}},"exampleType":"generated"}},"exampleType":"generated"},"12099396-5d4b-493f-b90b-29d3c567c83b":{"description":"Forbidden - Wallet isn't available for organizations yet.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["MISSING_API_KEY","INVALID_API_KEY","INVALID_INPUT","RATE_LIMIT_EXCEEDED","DAILY_LIMIT_EXCEEDED","INTERNAL_ERROR","RETRY_REQUIRED","UNAUTHORIZED","VAULT_RECONNECT_REQUIRED","FORBIDDEN","NOT_FOUND","FEATURE_NOT_AVAILABLE","SERVICE_BUSY","TIMEOUT","INSUFFICIENT_CREDITS","FREE_ALLOWANCE_EXHAUSTED","CONTENT_POLICY_VIOLATION","MAX_STEPS_EXCEEDED","SITE_BLOCKED","TASK_FAILED","CANCELLED"],"description":"Machine-readable error code","example":"INVALID_INPUT","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Field \"url\" is required and must be a string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (validation errors, etc.)","uniqueKey":"error.details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (validation errors, etc.)","type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"any | null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request correlation ID, also returned as the X-Request-ID response header. Include it when reporting issues.","example":"8f9dba20-e37b-4749-a919-2269e28b4a2c","uniqueKey":"request_id","typeLabel":"string"}},"required":["error"],"description":"Standard error response format","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_INPUT","message":"Field \"url\" is required and must be a string","details":"\u003cunknown>"},"request_id":"8f9dba20-e37b-4749-a919-2269e28b4a2c"}}},"exampleType":"generated"}},"exampleType":"generated"},"007240f1-1874-4ed0-84e1-0952248bab41":{"description":"The account is not assigned to wallet billing (error code FEATURE_NOT_AVAILABLE).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["MISSING_API_KEY","INVALID_API_KEY","INVALID_INPUT","RATE_LIMIT_EXCEEDED","DAILY_LIMIT_EXCEEDED","INTERNAL_ERROR","RETRY_REQUIRED","UNAUTHORIZED","VAULT_RECONNECT_REQUIRED","FORBIDDEN","NOT_FOUND","FEATURE_NOT_AVAILABLE","SERVICE_BUSY","TIMEOUT","INSUFFICIENT_CREDITS","FREE_ALLOWANCE_EXHAUSTED","CONTENT_POLICY_VIOLATION","MAX_STEPS_EXCEEDED","SITE_BLOCKED","TASK_FAILED","CANCELLED"],"description":"Machine-readable error code","example":"INVALID_INPUT","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Field \"url\" is required and must be a string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (validation errors, etc.)","uniqueKey":"error.details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (validation errors, etc.)","type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"any | null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request correlation ID, also returned as the X-Request-ID response header. Include it when reporting issues.","example":"8f9dba20-e37b-4749-a919-2269e28b4a2c","uniqueKey":"request_id","typeLabel":"string"}},"required":["error"],"description":"Standard error response format","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_INPUT","message":"Field \"url\" is required and must be a string","details":"\u003cunknown>"},"request_id":"8f9dba20-e37b-4749-a919-2269e28b4a2c"}}},"exampleType":"generated"}},"exampleType":"generated"},"663a2811-5bd3-4752-baaa-e3a48c4cba8b":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["MISSING_API_KEY","INVALID_API_KEY","INVALID_INPUT","RATE_LIMIT_EXCEEDED","DAILY_LIMIT_EXCEEDED","INTERNAL_ERROR","RETRY_REQUIRED","UNAUTHORIZED","VAULT_RECONNECT_REQUIRED","FORBIDDEN","NOT_FOUND","FEATURE_NOT_AVAILABLE","SERVICE_BUSY","TIMEOUT","INSUFFICIENT_CREDITS","FREE_ALLOWANCE_EXHAUSTED","CONTENT_POLICY_VIOLATION","MAX_STEPS_EXCEEDED","SITE_BLOCKED","TASK_FAILED","CANCELLED"],"description":"Machine-readable error code","example":"INVALID_INPUT","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Field \"url\" is required and must be a string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (validation errors, etc.)","uniqueKey":"error.details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (validation errors, etc.)","type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"any | null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request correlation ID, also returned as the X-Request-ID response header. Include it when reporting issues.","example":"8f9dba20-e37b-4749-a919-2269e28b4a2c","uniqueKey":"request_id","typeLabel":"string"}},"required":["error"],"description":"Standard error response format","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_INPUT","message":"Field \"url\" is required and must be a string","details":"\u003cunknown>"},"request_id":"8f9dba20-e37b-4749-a919-2269e28b4a2c"}}},"exampleType":"generated"}},"exampleType":"generated"},"52df731a-a946-4872-b058-4716ed4e60ff":{"description":"Organization could not be resolved (organization_unresolved). Retry later.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["MISSING_API_KEY","INVALID_API_KEY","INVALID_INPUT","RATE_LIMIT_EXCEEDED","DAILY_LIMIT_EXCEEDED","INTERNAL_ERROR","RETRY_REQUIRED","UNAUTHORIZED","VAULT_RECONNECT_REQUIRED","FORBIDDEN","NOT_FOUND","FEATURE_NOT_AVAILABLE","SERVICE_BUSY","TIMEOUT","INSUFFICIENT_CREDITS","FREE_ALLOWANCE_EXHAUSTED","CONTENT_POLICY_VIOLATION","MAX_STEPS_EXCEEDED","SITE_BLOCKED","TASK_FAILED","CANCELLED"],"description":"Machine-readable error code","example":"INVALID_INPUT","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Field \"url\" is required and must be a string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (validation errors, etc.)","uniqueKey":"error.details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (validation errors, etc.)","type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"any | null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request correlation ID, also returned as the X-Request-ID response header. Include it when reporting issues.","example":"8f9dba20-e37b-4749-a919-2269e28b4a2c","uniqueKey":"request_id","typeLabel":"string"}},"required":["error"],"description":"Standard error response format","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_INPUT","message":"Field \"url\" is required and must be a string","details":"\u003cunknown>"},"request_id":"8f9dba20-e37b-4749-a919-2269e28b4a2c"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"6194ea7d-35eb-4bec-91d6-d1952b5a4e00":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key for authentication. Get your key from the API Keys page.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"c7913d46-c406-46be-8206-6c7d5c913133":{"url":"https://agent.tinyfish.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key for authentication. Get your key from the API Keys page.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"API key for authentication. Get your key from the API Keys page.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"https://agent.tinyfish.ai/v1/openapi/main"},"subdomain":"tinyfish","siteName":"TinyFish","title":"Get wallet - TinyFish","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T22:07:38.271Z","originalFileLocation":"api-reference/wallet/get-wallet.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get the caller\u0026#x27;s wallet: current balance, auto-reload configuration, per-product contract rates, and any in-flight top-up.\">\u003cmeta data-mint-head name=\"application-name\" content=\"TinyFish\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get wallet - TinyFish\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get the caller\u0026#x27;s wallet: current balance, auto-reload configuration, per-product contract rates, and any in-flight top-up.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TinyFish\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tinyfish.ai/api-reference/wallet/get-wallet\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tinyfish.mintlify.site/_mintlify/api/og/v2?division=Wallet\u0026amp;title=Get+wallet\u0026amp;description=Get+the+caller%27s+wallet%3A+current+balance%2C+auto-reload+configuration%2C+per-product+contract+rates%2C+and+any+in-flight+top-up.\u0026amp;theme=dac8b9f91d0f0e9c999d650c\u0026amp;signature=ec20bfff2ef14ede59a51740930365e8ead60be466574c7bc912bb3c8e44bd42\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get wallet - TinyFish\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get the caller\u0026#x27;s wallet: current balance, auto-reload configuration, per-product contract rates, and any in-flight top-up.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tinyfish.mintlify.site/_mintlify/api/og/v2?division=Wallet\u0026amp;title=Get+wallet\u0026amp;description=Get+the+caller%27s+wallet%3A+current+balance%2C+auto-reload+configuration%2C+per-product+contract+rates%2C+and+any+in-flight+top-up.\u0026amp;theme=dac8b9f91d0f0e9c999d650c\u0026amp;signature=ec20bfff2ef14ede59a51740930365e8ead60be466574c7bc912bb3c8e44bd42\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TinyFish\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D74B28\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tinyfish.ai/api-reference/wallet/get-wallet\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/wallet/get-wallet.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tinyfish.ai/#organization\",\"name\":\"TinyFish\",\"url\":\"https://docs.tinyfish.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tinyfish/SAWuKzAHuR-ZMRAB/logo/TF_Horizontal.svg?fit=max\u0026auto=format\u0026n=SAWuKzAHuR-ZMRAB\u0026q=85\u0026s=3ff7a57ebbe744005f4f984e986f16b9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tinyfish.ai#website\",\"name\":\"TinyFish\",\"url\":\"https://docs.tinyfish.ai\",\"publisher\":{\"@id\":\"https://docs.tinyfish.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tinyfish.ai/api-reference/wallet/get-wallet#webpage\",\"url\":\"https://docs.tinyfish.ai/api-reference/wallet/get-wallet\",\"name\":\"Get wallet\",\"description\":\"Get the caller's wallet: current balance, auto-reload configuration, per-product contract rates, and any in-flight top-up.\",\"dateModified\":\"2026-11-09T22:07:38.271Z\",\"isPartOf\":{\"@id\":\"https://docs.tinyfish.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tinyfish.ai/api-reference/wallet/get-wallet#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tinyfish.ai/api-reference/wallet/get-wallet#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"TinyAgent \u0026 Runs\",\"item\":\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-with-sse-streaming\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get wallet\",\"item\":\"https://docs.tinyfish.ai/api-reference/wallet/get-wallet\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tinyfish.ai/api-reference/wallet/get-wallet#apireference\",\"headline\":\"Get wallet\",\"name\":\"Get wallet\",\"description\":\"Get the caller's wallet: current balance, auto-reload configuration, per-product contract rates, and any in-flight top-up.\",\"url\":\"https://docs.tinyfish.ai/api-reference/wallet/get-wallet\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tinyfish.ai/api-reference/wallet/get-wallet#webpage\"},\"dateModified\":\"2026-11-09T22:07:38.271Z\",\"publisher\":{\"@id\":\"https://docs.tinyfish.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tinyfish.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TinyFish\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"TinyFish","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","icon":"code","groups":[{"group":"TinyAgent \u0026 Runs","icon":"sparkles","pages":[{"group":"Automation","pages":[{"title":"Run browser automation with SSE streaming","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/automation/run-sse","href":"/api-reference/automation/run-browser-automation-with-sse-streaming"},{"title":"Run browser automation synchronously","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/automation/run","href":"/api-reference/automation/run-browser-automation-synchronously"},{"title":"Start automation asynchronously","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/automation/run-async","href":"/api-reference/automation/start-automation-asynchronously"},{"title":"Start multiple automations asynchronously","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/automation/run-batch","href":"/api-reference/automation/start-multiple-automations-asynchronously"}]},{"group":"Runs","pages":[{"title":"List and search runs","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/runs","href":"/api-reference/runs/list-and-search-runs"},{"title":"Get multiple runs by IDs","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/runs/batch","href":"/api-reference/runs/get-multiple-runs-by-ids"},{"title":"Cancel multiple runs by IDs","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/runs/batch/cancel","href":"/api-reference/runs/cancel-multiple-runs-by-ids"},{"title":"Get run by ID","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/runs/{id}","href":"/api-reference/runs/get-run-by-id"},{"title":"Cancel run by ID","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/runs/{id}/cancel","href":"/api-reference/runs/cancel-run-by-id"},{"title":"Get step screenshot","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/runs/{id}/steps/{stepId}/screenshot","href":"/api-reference/runs/get-step-screenshot"},{"title":"Get step HTML snapshot","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/runs/{id}/steps/{stepId}/html","href":"/api-reference/runs/get-step-html-snapshot"}]},{"group":"Browser Context Profiles","pages":[{"title":"List Browser Context Profiles","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/profiles","href":"/api-reference/browser-context-profiles/list-browser-context-profiles"},{"title":"Create a Browser Context Profile","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/profiles","href":"/api-reference/browser-context-profiles/create-a-browser-context-profile"},{"title":"Get a Browser Context Profile","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/profiles/{profileId}","href":"/api-reference/browser-context-profiles/get-a-browser-context-profile"},{"title":"Delete a Browser Context Profile","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main delete /v1/profiles/{profileId}","href":"/api-reference/browser-context-profiles/delete-a-browser-context-profile"},{"title":"Update a Browser Context Profile","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main patch /v1/profiles/{profileId}","href":"/api-reference/browser-context-profiles/update-a-browser-context-profile"},{"title":"Create a profile setup session","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/profiles/{profileId}/setup-session","href":"/api-reference/browser-context-profiles/create-a-profile-setup-session"},{"title":"Cancel a profile setup session","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/profiles/{profileId}/setup-session/cancel","href":"/api-reference/browser-context-profiles/cancel-a-profile-setup-session"},{"title":"Save a profile setup session","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/profiles/{profileId}/save","href":"/api-reference/browser-context-profiles/save-a-profile-setup-session"},{"title":"Upload Browser Context Profile state","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/profiles/{profileId}/upload","href":"/api-reference/browser-context-profiles/upload-browser-context-profile-state"},{"title":"Delete a saved profile domain","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main delete /v1/profiles/{profileId}/domains/{domain}","href":"/api-reference/browser-context-profiles/delete-a-saved-profile-domain"}]},{"group":"Vault","pages":[{"title":"List vault connections","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/vault/connections","href":"/api-reference/vault/list-vault-connections"},{"title":"Connect a vault provider","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/vault/connections","href":"/api-reference/vault/connect-a-vault-provider"},{"title":"Disconnect a vault provider","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main delete /v1/vault/connections/{connectionId}","href":"/api-reference/vault/disconnect-a-vault-provider"},{"title":"List vault items","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/vault/items","href":"/api-reference/vault/list-vault-items"},{"title":"Sync vault items","description":"Sync items from connected providers and return merged item state plus sync counters.","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/vault/items/sync","href":"/api-reference/vault/sync-vault-items"}]},{"group":"Wallet","pages":[{"title":"Get wallet","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/wallet","href":"/api-reference/wallet/get-wallet"},{"title":"Top up wallet (agent-paid)","description":"Add money to the wallet, paid by the calling agent over the Machine Payments Protocol (MPP). The first call answers 402 with a payment challenge in WWW-Authenticate; retry with a Payment-Authorization credential to settle the charge and credit the wallet.","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/wallet/top-up","href":"/api-reference/wallet/top-up-wallet-agent-paid"}]}]},{"group":"Research","icon":"telescope","pages":[{"group":"API Reference","pages":[{"title":"Run research with SSE streaming","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research post /v1/automation/run-research","href":"/api-reference/run-research-with-sse-streaming"},{"title":"Start research asynchronously","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research post /v1/automation/run-research-async","href":"/api-reference/start-research-asynchronously"},{"title":"Attach to research progress","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research get /v1/research-run/{research_run_id}/events","href":"/api-reference/attach-to-research-progress"},{"title":"List research runs","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research get /v1/research-run","href":"/api-reference/list-research-runs"},{"title":"Get research run by ID","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research get /v1/research-run/{research_run_id}","href":"/api-reference/get-research-run-by-id"},{"title":"Cancel research run by ID","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research post /v1/research-run/{research_run_id}/cancel","href":"/api-reference/cancel-research-run-by-id"}]}]},{"group":"Fetch","icon":"bolt","pages":[{"group":"API Reference","pages":[{"title":"Fetch and extract content from URLs","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/fetch post /","href":"/api-reference/fetch-and-extract-content-from-urls"},{"title":"List fetch usage","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/fetch get /usage","href":"/api-reference/list-fetch-usage"}]}]},{"group":"Search","icon":"magnifying-glass","pages":[{"group":"API Reference","pages":[{"title":"Search the web","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/search get /","href":"/api-reference/search-the-web"},{"title":"List search usage","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/search get /usage","href":"/api-reference/list-search-usage"}]}]},{"group":"Browser","icon":"browser","pages":[{"group":"API Reference","pages":[{"title":"Create a remote browser session","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/browser post /","href":"/api-reference/create-a-remote-browser-session"},{"title":"List browser session usage","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/browser get /usage","href":"/api-reference/list-browser-session-usage"},{"title":"Terminate a browser session","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/browser delete /{sessionId}","href":"/api-reference/terminate-a-browser-session"}]}]},{"group":"Monitor","icon":"eye","pages":[{"group":"API Reference","pages":[{"title":"List Monitors","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor get /v1/monitors","href":"/api-reference/list-monitors"},{"title":"Create a Monitor","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor post /v1/monitors","href":"/api-reference/create-a-monitor"},{"title":"Get a Monitor","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor get /v1/monitors/{id}","href":"/api-reference/get-a-monitor"},{"title":"Delete a Monitor","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor delete /v1/monitors/{id}","href":"/api-reference/delete-a-monitor"},{"title":"Update a Monitor","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor patch /v1/monitors/{id}","href":"/api-reference/update-a-monitor"},{"title":"Run a Monitor now","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor post /v1/monitors/{id}/runs","href":"/api-reference/run-a-monitor-now"}]}]},{"group":"Datasets","icon":"table","pages":[{"group":"API Reference","pages":[{"title":"List datasets","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets get /v1/datasets","href":"/api-reference/list-datasets"},{"title":"Create a dataset","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets post /v1/datasets","href":"/api-reference/create-a-dataset"},{"title":"Plan a dataset schema","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets post /v1/datasets/plan","href":"/api-reference/plan-a-dataset-schema"},{"title":"Get a dataset","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets get /v1/datasets/{id}","href":"/api-reference/get-a-dataset"},{"title":"Delete a dataset","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets delete /v1/datasets/{id}","href":"/api-reference/delete-a-dataset"},{"title":"Get rows","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets get /v1/datasets/{id}/rows","href":"/api-reference/get-rows"},{"title":"Populate a dataset","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets post /v1/datasets/{id}/populate","href":"/api-reference/populate-a-dataset"},{"title":"Cancel a run","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets post /v1/datasets/{id}/runs/{runId}/cancel","href":"/api-reference/cancel-a-run"},{"title":"Follow a run","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets get /v1/datasets/{id}/runs/{runId}/events","href":"/api-reference/follow-a-run"}]}]}]},{"tab":"Cookbook","icon":"utensils","href":"https://github.com/tinyfish-io/tinyfish-cookbook"}]},"basePath":"","title":"Get wallet - TinyFish","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}