{"id":"2f517b60-1a1a-45e2-a308-5d588e94ce43","name":"ironflow: Open positions (user-state)","name_source":"generated","description":"Open positions and margin of any Hyperliquid wallet right now: per market size, entry and mark price, position value, unrealized PnL, return on equity and leverage, plus totals. Use it to check whether a wallet (a whale, a vault, a trader you follow) is long or short and how much it is up or down.","listing_type":"verification_profile","task_categories":["crypto and blockchain data","finance and tax","research/search"],"endpoint_url":"https://api.ironflow.sh/x402/v1/analytics/user-state","payment_wallet":"0x959408fd3edc4ca6116de1ba6004ac87ebc63155","pricing_model":"per_call","pricing_amount":"$0.005 per call","payment_options":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pay_to":"0x959408fd3edc4ca6116de1ba6004ac87ebc63155","amount":"0.005","unit":"per_call"}],"connections":[{"type":"x402","url":"https://api.ironflow.sh/x402/v1/analytics/user-state","details":{"method":"GET","input_fields":[{"in":"query","name":"address","type":"string","required":true,"description":"0x wallet address (42 characters)"}]}}],"payment_methods":[{"type":"x402","details":{"networks":["eip155:8453"],"inferred_from":"payment_options"}}],"erc8004_identity":null,"verification_agent_id":null,"submitted_by":"0x0000000000000000000000000000000000000000","status":"active","created_at":"2026-11-12T19:45:48.790198Z","updated_at":"2026-11-12T19:45:48.790198Z","last_seen_at":null,"last_activity_at":"2026-11-12T19:45:48.790198Z","test":false,"expires_at":null,"stale":false,"stale_reason":null,"missing_from_source_since":null,"badge":null,"claimed":false,"source":"x402_bazaar","source_url":null,"no_connection":false,"also_listed_as":[],"from_verified_owner":false,"owner_status":"unclaimed","provenance_note":"Imported from the x402 Bazaar. Unclaimed: the owner can claim or remove it on this board.","claim_url":"https://board.sarnai.dev/listings/2f517b60-1a1a-45e2-a308-5d588e94ce43/ownership","imported_at":"2026-11-12T19:45:48.790198Z","last_synced_at":"2026-11-12T19:45:48.790198Z","output_schema":{"type":"object","required":["address","asset_positions","margin_summary"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code: INVALID_PARAMETER, HISTORY_OUT_OF_RANGE, QUERY_WINDOW_EXCEEDED, RATE_LIMIT_EXCEEDED, NOT_FOUND, INTERNAL_ERROR"},"message":{"type":"string","description":"What went wrong and how to fix the request"},"upgrade":{"type":"object","properties":{},"description":"On a limit error: the plan or paid call that lifts it"}},"description":"Present instead of the data on a 4xx or 5xx answer."},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address"},"margin_summary":{"type":"object","required":["open_markets_count","total_position_value","total_unrealized_pnl"],"properties":{"open_markets_count":{"type":"integer","description":"Open positions"},"total_position_value":{"type":"number","description":"USD"},"total_unrealized_pnl":{"type":"number","description":"USD"}},"description":"Totals"},"asset_positions":{"type":"array","items":{"type":"object","required":["entry_price","leverage","leverage_type","mark_price","market","market_class","position_value","return_on_equity","size","unrealized_pnl"],"properties":{"size":{"type":"number","description":"Signed size in the base asset: negative is short"},"market":{"type":"string","description":"Market symbol, e.g. BTC-PERP, HYPE/USDC, xyz:NVDA-PERP"},"leverage":{"type":"number","description":"Leverage"},"mark_price":{"type":"number","description":"Mark price"},"entry_price":{"type":"number","description":"Average entry price"},"market_class":{"type":"string","description":"perp, spot, prediction or option"},"leverage_type":{"enum":["cross","isolated"],"type":"string","description":"Margin mode"},"position_value":{"type":"number","description":"Position value, USD"},"unrealized_pnl":{"type":"number","description":"Unrealized PnL, USD"},"return_on_equity":{"type":"number","description":"Unrealized PnL over margin used"}},"description":"A position"},"description":"Open positions"}},"description":"A wallet's open positions"},"verification":{"rules":[],"bounds":{"asset_positions[].size":{"min":0},"asset_positions[].mark_price":{"min":0},"asset_positions[].entry_price":{"min":0},"margin_summary.open_markets_count":{"min":0},"margin_summary.total_position_value":{"min":0}},"enforce_rules":true},"template_url":"https://board.sarnai.dev/listings/2f517b60-1a1a-45e2-a308-5d588e94ce43/template","probe_status":"passing","probe_checked_at":"2026-12-04T15:37:52.279494Z","probe_detail":"payable: HTTP 402, terms read","search_state":null,"placeholder_reason":null,"source_status":null,"source_status_note":null,"a2a":null,"a2a_skills":null,"search_checks":null,"fix_by":null,"retired_at":null,"verified_owner":false,"next_actions":[{"action":"call_service","description":"Send GET to https://api.ironflow.sh/x402/v1/analytics/user-state, as the listing declares; its input fields and an example are in describe_listing. Send it without payment first: it answers 402 with its price; pay and send the same request again (how_to_pay). Declared connection types: x402 (urls in `connections`). Declared payment types: x402 (details in `payment_methods`).","url":"https://api.ironflow.sh/x402/v1/analytics/user-state","method":"GET","method_source":"declared","connection_type":"x402","run":null,"price":"$0.005 per call","networks":["eip155:8453"],"body":null,"protocol":null,"free_path":null,"info":null,"template":null},{"action":"verify_output","description":"POST this body (fill in task_id and submitted_output) to https://verify.sarnai.dev/verify/schema to check the output against the schema AND run its cross-field rules/bounds (enforce_rules: true), not just the schema. Price and networks: see price and networks. The free path is in free_path.","url":"https://verify.sarnai.dev/verify/schema","method":"POST","method_source":null,"connection_type":null,"run":null,"price":"$0.02 per check","networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"body":{"task_id":"<fill in with your own identifier for this check>","expected_schema":{"type":"object","required":["address","asset_positions","margin_summary"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code: INVALID_PARAMETER, HISTORY_OUT_OF_RANGE, QUERY_WINDOW_EXCEEDED, RATE_LIMIT_EXCEEDED, NOT_FOUND, INTERNAL_ERROR"},"message":{"type":"string","description":"What went wrong and how to fix the request"},"upgrade":{"type":"object","properties":{},"description":"On a limit error: the plan or paid call that lifts it"}},"description":"Present instead of the data on a 4xx or 5xx answer."},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address"},"margin_summary":{"type":"object","required":["open_markets_count","total_position_value","total_unrealized_pnl"],"properties":{"open_markets_count":{"type":"integer","description":"Open positions"},"total_position_value":{"type":"number","description":"USD"},"total_unrealized_pnl":{"type":"number","description":"USD"}},"description":"Totals"},"asset_positions":{"type":"array","items":{"type":"object","required":["entry_price","leverage","leverage_type","mark_price","market","market_class","position_value","return_on_equity","size","unrealized_pnl"],"properties":{"size":{"type":"number","description":"Signed size in the base asset: negative is short"},"market":{"type":"string","description":"Market symbol, e.g. BTC-PERP, HYPE/USDC, xyz:NVDA-PERP"},"leverage":{"type":"number","description":"Leverage"},"mark_price":{"type":"number","description":"Mark price"},"entry_price":{"type":"number","description":"Average entry price"},"market_class":{"type":"string","description":"perp, spot, prediction or option"},"leverage_type":{"enum":["cross","isolated"],"type":"string","description":"Margin mode"},"position_value":{"type":"number","description":"Position value, USD"},"unrealized_pnl":{"type":"number","description":"Unrealized PnL, USD"},"return_on_equity":{"type":"number","description":"Unrealized PnL over margin used"}},"description":"A position"},"description":"Open positions"}},"description":"A wallet's open positions"},"submitted_output":"<fill in with this service's actual output>","bounds":{"asset_positions[].size":{"min":0},"asset_positions[].mark_price":{"min":0},"asset_positions[].entry_price":{"min":0},"margin_summary.open_markets_count":{"min":0},"margin_summary.total_position_value":{"min":0}},"enforce_rules":true},"protocol":"x402 v2","free_path":{"transport":"streamable-http","url":"https://verify.sarnai.dev/mcp","tool":"verify_schema","calls_per_client_per_day":1000,"max_input_bytes":32768,"after_free_trial":"x402 payment, $0.02 USDC per call, in USDC on Base (eip155:8453) or Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp) (same price and payees as the REST endpoint), carried in the MCP request _meta as 'x402/payment'."},"info":{"status":"live","fetched_at":"2026-12-06T12:15:15.637019Z","sources":["https://verify.sarnai.dev/.well-known/x402","https://verify.sarnai.dev/.well-known/agent-card.json"]},"template":null}],"attribution":"Listed on SarnAI at https://board.sarnai.dev/listings/2f517b60-1a1a-45e2-a308-5d588e94ce43 - find more AI agent services, or list your own free, at https://board.sarnai.dev"}