{"openapi":"3.1.0","info":{"title":"Cred Protocol API","description":"\n# Cred Protocol API\n\nThe Cred Protocol API provides comprehensive on-chain credit analytics for Ethereum addresses\nacross multiple blockchain networks. Generate credit scores, detailed financial reports, and\nverify identity attestations using real-time blockchain data.\n\n## Features\n\n- 🔢 **Credit Scoring**: FICO-style scores (300-1000) for blockchain addresses\n- 📊 **Financial Reports**: Detailed multi-chain credit reports with asset breakdowns\n- 🔐 **Identity Verification**: Aggregate attestations from ENS, Gitcoin Passport, and more\n- 🌐 **Multi-Chain Support**: Ethereum, Base, Polygon, Celo, Arbitrum, Optimism, Binance Smart Chain, Avalanche, Linea, Robinhood Chain\n- ⚡ **Real-Time Data**: Live blockchain data with intelligent caching\n- 💰 **USD Valuation**: Accurate pricing via Chainlink oracles\n\n## Delivery modes\n\nEvery score and report is delivered in one of two modes. **Commercial / analytics\ndelivery** is the default on every rail (API key, x402, MPP, MCP, MetaMask Snap): the\nresponse is not a consumer report and is not to be used to determine an individual's\neligibility for credit, insurance, employment or housing. **Consumer-report delivery**,\nwhich adds ranked key factors, an inquiry record and a dispute process, is available\nonly to certified consumer-credit customers (contact us). See\n[Delivery modes](https://docs.credprotocol.com/compliance/delivery-modes) and the\n[terms of service](https://credprotocol.com/terms/).\n\n## Getting Started\n\n1. **Obtain API credentials** at [credprotocol.com](https://credprotocol.com)\n2. **Authenticate** using your Bearer token\n3. **Call endpoints** to generate scores and reports\n\n## Authentication\n\nAll endpoints require Bearer token authentication:\n\n```\nAuthorization: Bearer YOUR_TOKEN_HERE\n```\n\nObtain tokens from the Cred Protocol dashboard or authentication service.\n\n## Rate Limits\n\n- Most endpoints: Cached for 5 minutes per unique request\n- Authentication checks: Cached for 5 minutes per token\n- Identity attestations: Cached for 10 minutes per address\n\n## Support\n\n- 📧 Email: team@credprotocol.com\n- 🌐 Website: https://credprotocol.com\n- 📚 Documentation: https://credprotocol.com/docs\n    ","termsOfService":"https://credprotocol.com/terms/","contact":{"name":"Cred Protocol","url":"https://credprotocol.com/","email":"team@credprotocol.com"},"license":{"name":"Proprietary","url":"https://credprotocol.com/terms/"},"version":"2.0.0","summary":"On-chain credit scoring, reporting and monitoring for DeFi"},"paths":{"/users/me":{"get":{"tags":["authentication"],"summary":"Get current user via API token","description":"Retrieves the profile of the user authenticated via API token.\n\n    ## Authentication\n    This endpoint requires an API token (created in the API Playground).\n    Pass the token as a Bearer token in the Authorization header:\n    ```\n    Authorization: Bearer YOUR_API_TOKEN\n    ```","operationId":"get_current_user_short_path_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/score/":{"get":{"tags":["score","score"],"summary":"Generate aggregated credit score for multiple Ethereum addresses","description":"Generates a single aggregated credit score for multiple Ethereum addresses\n    using the Andromeda scoring model.\n\n    ## Scoring Model: Andromeda 1.3\n    - Uses advanced scoring algorithm with credit history weighting\n    - Aggregates individual credit scores into a single score\n    - Only successfully validated addresses are included in the calculation\n\n    ## Use Cases\n    - Multi-signature wallet risk assessment\n    - Joint account credit evaluation\n    - Combined portfolio analysis\n    - Group risk analytics (credit decisions about individuals need consumer-report\n      delivery, available to certified consumer-credit customers; see Compliance)\n\n    ## Performance\n    - **Response Time**: Typically 3-5 seconds\n    - **Caching**: Results cached for 5 minutes per address combination\n\n    ## Limits and pricing\n    - Up to 50 distinct addresses per request (duplicates are ignored); more returns 400 `too_many_addresses`\n    - 1 Cred Unit per request, however many addresses it combines","operationId":"get_multiple_scores_score__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated list of Ethereum addresses (e.g., `address=0x123...,0x456...,0x789...`)","title":"Address"},"description":"Comma-separated list of Ethereum addresses (e.g., `address=0x123...,0x456...,0x789...`)"}],"responses":{"200":{"description":"Successfully generated aggregated credit score","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CredScore"},{"$ref":"#/components/schemas/ErrorResponse"}],"title":"Response Get Multiple Scores Score  Get"},"example":{"address":["0x1111111111111111111111111111111111111111","0x2222222222222222222222222222222222222222","0x3333333333333333333333333333333333333333"],"timestamp":"2024-03-12T14:30:00+00:00","model_version":"andromeda_1.5","score":745,"decile":8,"range":"good"}}}},"400":{"description":"Invalid request or no valid addresses provided","content":{"application/json":{"example":{"error":"No valid addresses provided","status_code":400}}}},"401":{"description":"Authentication failed","content":{"application/json":{"example":{"detail":"Invalid or expired API token"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/score/batch/":{"get":{"tags":["score","score"],"summary":"Get individual credit scores for multiple Ethereum addresses","description":"Returns individual credit scores for multiple Ethereum addresses without aggregation,\n    using the Andromeda scoring model.\n\n    ## Response Format\n    - Returns a collection of individual wallet scores\n    - Each score includes full details (address, score, decile, range, timestamp)\n    - Only successfully calculated scores are included in the response\n    - Invalid addresses are skipped with a warning\n\n    ## Use Cases\n    - Batch scoring for dapp user interfaces\n    - Portfolio analysis with per-wallet breakdown\n    - Multi-wallet dashboard displays\n    - Efficient data retrieval for frontend applications\n\n    ## Performance\n    - **Response Time**: Typically 3-5 seconds (addresses calculated in parallel)\n    - **Caching**: Results cached for 5 minutes per address\n\n    ## Limits and pricing\n    - Up to 50 distinct addresses per request (duplicates are ignored); more returns 400 `too_many_addresses`\n    - 1 Cred Unit per address. With an API key you are billed for the addresses that return a score;\n      x402 and MPP are quoted and paid up front for every distinct requested address\n\n    > **Note**: This endpoint differs from `/score/` which aggregates scores into a single value.\n    > Use `/score/batch/` when you need individual wallet scores for display or analysis.","operationId":"get_individual_scores_score_batch__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated list of Ethereum addresses (e.g., `address=0x123...,0x456...,0x789...`)","title":"Address"},"description":"Comma-separated list of Ethereum addresses (e.g., `address=0x123...,0x456...,0x789...`)"}],"responses":{"200":{"description":"Successfully retrieved individual credit scores","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CredScoresResponse"},{"$ref":"#/components/schemas/ErrorResponse"}],"title":"Response Get Individual Scores Score Batch  Get"},"example":{"scores":[{"address":"0x1111111111111111111111111111111111111111","timestamp":"2024-03-12T14:30:00+00:00","model_version":"andromeda_1.5","score":726,"decile":8,"range":"good"},{"address":"0x2222222222222222222222222222222222222222","timestamp":"2024-03-12T14:30:00+00:00","model_version":"andromeda_1.5","score":845,"decile":9,"range":"very_good"}],"count":2}}}},"400":{"description":"Invalid request or no valid addresses provided","content":{"application/json":{"example":{"error":"No valid addresses provided","status_code":400}}}},"401":{"description":"Authentication failed","content":{"application/json":{"example":{"detail":"Invalid or expired API token"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/score/address/{address}":{"get":{"tags":["score","score"],"summary":"Generate credit score for an Ethereum address","description":"Generates a credit score (300-1000 scale) for any Ethereum address using the Andromeda\n    scoring model, which emphasizes credit history and borrowing behavior.\n\n    ## Scoring Model: Andromeda 1.3\n    The credit score analyzes:\n    - Borrowing and repayment history (most important factor)\n    - Wallet composition and asset holdings\n    - Transaction patterns and frequency\n    - Identity attestations (ENS, Gitcoin Passport, etc.)\n    - DeFi protocol interactions\n    - Liquidation and default history\n\n    ## Score Ranges\n    - **920-1000**: Excellent\n    - **840-919**: Very Good\n    - **750-839**: Good\n    - **640-749**: Fair\n    - **300-639**: Low\n\n    ## Score Factors (optional)\n    When `include_factors=true` is passed, the response includes detailed factors that\n    explain what influences the score:\n    - **Borrowing History**: Track record of borrowing and repaying loans\n    - **Wallet Composition**: Mix of stablecoins and liquid assets\n    - **Wallet Health**: Overall financial health and absence of negative events\n    - **Interactions**: Level of engagement with web3 protocols\n    - **Trust**: Identity attestations and wallet age\n    - **New Credit**: Recent credit activity\n    - **Score Improvement**: Overall guidance for improving the score\n\n    ## Supported Networks\n    - Ethereum (1)\n    - Optimism (10)\n    - Binance Smart Chain (56)\n    - Polygon (137)\n    - Robinhood Chain (4663)\n    - Base (8453)\n    - Arbitrum (42161)\n    - Celo (42220)\n    - Avalanche (43114)\n    - Linea (59144)\n\n    ## Performance\n    - **Response Time**: Typically 2-5 seconds\n    - **Caching**: Results cached for 5 minutes per address","operationId":"get_score_score_address__address__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"},{"name":"include_factors","in":"query","required":false,"schema":{"type":"boolean","description":"Include detailed score factors in the response. Factors explain what influences the score.","default":false,"title":"Include Factors"},"description":"Include detailed score factors in the response. Factors explain what influences the score."}],"responses":{"200":{"description":"Successfully generated credit score","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CredScore"},{"$ref":"#/components/schemas/ErrorResponse"}],"title":"Response Get Score Score Address  Address  Get"},"examples":{"basic":{"summary":"Basic score response","value":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","timestamp":"2024-03-12T14:30:00+00:00","model_version":"andromeda_1.5","score":726,"decile":8,"range":"good"}},"with_factors":{"summary":"Score response with factors","value":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","timestamp":"2024-03-12T14:30:00+00:00","model_version":"andromeda_1.5","score":726,"decile":8,"range":"good","factors":[{"label":"Borrowing History","rating":"good","description":"You have a good borrowing history with successful repayments. Continue building your credit track record."},{"label":"Wallet Composition","rating":"excellent","description":"You have an excellent breakdown of tokens in your account, this factor has a high impact on your score."},{"label":"Wallet Health","rating":"fair","description":"You have fair account health, transact more to improve, as this factor has a medium impact on your score."},{"label":"Interactions","rating":"very_good","description":"You have a very good range of interactions across web3, this factor has an impact on your score."},{"label":"Trust","rating":"good","description":"You have good trust signals. Consider adding more identity attestations like ENS or Gitcoin Passport."},{"label":"New Credit","description":"You have limited transaction history, so we can't give you good guidance on improving New Credit right now. Please check back later."},{"label":"Score Improvement","rating":"good","description":"Your score is currently good. Since your accounts are already well managed, the key to improvement is to establish a longer track record of healthy loans by actively adding collateral and paying down debt."}]}}}}}},"400":{"description":"Invalid Ethereum address format","content":{"application/json":{"example":{"error":"Invalid Ethereum address","status_code":400}}}},"401":{"description":"Authentication failed","content":{"application/json":{"example":{"detail":"Invalid or expired API token"}}}},"429":{"description":"Credit limit exceeded","content":{"application/json":{"example":{"detail":{"error":"credit_limit_exceeded","message":"You have reached your monthly limit of 1,000 Cred Units.","plan":"free","monthly_limit":1000,"used":1000,"remaining":0,"period_end":"2024-04-15T00:00:00+00:00","upgrade_url":"/dashboard/account?tab=subscription"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["score","score"],"summary":"Generate boosted credit score with off-chain assets","description":"Generates an enhanced credit score by incorporating additional off-chain asset\n    information provided by the user.\n\n    ## Boost Calculation\n    - **Maximum boost**: 15% of (1000 - current_score)\n    - **Proportional to**: additional_assets / on_chain_assets\n    - **Example**: Score 700 + $50k off-chain = up to +45 points boost\n\n    ## Use Cases\n    - Including centralized exchange balances\n    - Proving off-chain collateral\n    - Adding verified bank account balances\n    - Including tokenized real-world assets\n\n    ## Request Body\n    ```json\n    {\n        \"total_asset_usd\": 50000,\n        \"verification_proof\": \"signed_message_or_attestation\"\n    }\n    ```\n\n    ## Performance\n    - **Response Time**: Real-time calculation (2-5 seconds)\n    - **Caching**: Not cached - recalculated on each request","operationId":"post_score_score_address__address__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","title":"Address"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Data"}}}},"responses":{"200":{"description":"Successfully generated boosted credit score","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CredScore"},{"$ref":"#/components/schemas/ErrorResponse"}],"title":"Response Post Score Score Address  Address  Post"},"example":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","timestamp":"2024-03-12T14:30:00+00:00","model_version":"andromeda_1.5","score":756,"decile":8,"range":"good"}}}},"400":{"description":"Invalid request data or address format","content":{"application/json":{"example":{"error":"Invalid request data","status_code":400}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/score/address/{address}/history":{"get":{"tags":["score","score"],"summary":"Get the recorded score history of an Ethereum address","description":"Returns the scores recorded for an address over a window, newest first.\n\n    A score is recorded every time it is computed — by any API request for the\n    address, by the cache warmer for popular addresses, or by a refresh after\n    on-chain activity on an address watched by a `score_change` webhook. An\n    unchanged score is re-recorded at most once an hour; every change is\n    recorded. Provisional scores (computed before all of the address's lending\n    history had been read) are not recorded.\n\n    Addresses that have never been scored have an empty history: request\n    `GET /score/address/{address}` first, or watch the address with a\n    `score_change` webhook to keep its history current.\n\n    ## Parameters\n    - `days`: window length, in days before now (default 90, max 365)\n    - `limit`: maximum points returned (default 100, max 1000)\n\n    ## Cred Units\n    - **Cost**: 1 Cred Unit per request","operationId":"get_score_history_score_address__address__history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"description":"Window length in days before now","default":90,"title":"Days"},"description":"Window length in days before now"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Maximum number of points to return","default":100,"title":"Limit"},"description":"Maximum number of points to return"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScoreHistoryResponse"}}}},"400":{"description":"Invalid Ethereum address format","content":{"application/json":{"example":{"error":"Invalid Ethereum address","status_code":400}}}},"401":{"description":"Authentication failed","content":{"application/json":{"example":{"detail":"Invalid or expired API token"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/report/address/{address}":{"get":{"tags":["report","report"],"summary":"Get comprehensive credit report across all chains","description":"Generates a detailed, multi-chain credit report for any Ethereum address,\n    aggregating data from all supported blockchain networks into a unified view.\n\n    This is the most comprehensive endpoint, providing a complete financial profile\n    including asset holdings, transaction history, DeFi activity, and identity attestations.\n\n    ## Report Includes\n    - **Summary Metrics**: Total assets, collateral, debt (USD denominated)\n    - **Transaction History**: First and last transaction timestamps\n    - **Activity Counts**: Transactions, transfers, loans, liquidations, defaults\n    - **Asset Breakdown**: Token balances, NFTs, LP positions per chain\n    - **DeFi Positions**: Active loans, collateral deposits, health factors\n    - **Identity Attestations**: ENS, Gitcoin Passport, POAPs, credentials\n    - **Chain-specific Details**: Individual blockchain data\n\n    ## Use Cases\n    - Risk analytics and portfolio analysis\n    - KYC/AML due diligence\n    - Wallet reputation scoring\n    - Financial planning and analytics\n    - Consumer credit (underwriting, loan origination): consumer-report delivery only,\n      available to certified consumer-credit customers; see Compliance\n\n    ## Supported Networks\n    - Ethereum (1)\n    - Optimism (10)\n    - Binance Smart Chain (56)\n    - Polygon (137)\n    - Robinhood Chain (4663)\n    - Base (8453)\n    - Arbitrum (42161)\n    - Celo (42220)\n    - Avalanche (43114)\n    - Linea (59144)\n\n    ## Performance\n    - **Response Time**: 3-10 seconds (varies with transaction history)\n    - **Caching**: Results cached for 5 minutes per address\n    - **Data Freshness**: Real-time blockchain data","operationId":"cross_chain_report_report_address__address__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Successfully generated credit report","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cross Chain Report Report Address  Address  Get"},"example":{"report":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","timestamp":"2024-03-12T14:30:00+00:00","first_transaction":{"timestamp":1438918251,"block_number":46147,"chain_id":1,"hash":"0xabc..."},"last_transaction":{"timestamp":1710255000,"block_number":19123456,"chain_id":1},"summary":{"total_asset_usd":125000.5,"total_collateral_usd":50000.0,"total_debt_usd":15000.0,"count_transactions":2456,"count_transfers":1234,"count_balances":25,"count_collateral_deposits":5,"count_active_loans":2,"count_liquidations":0,"count_defaults":0,"count_repayments":12,"count_identity_attestations":4,"list_identity_attestations":["ENS Name","Gitcoin Passport","Proof of Attendance - EthCC"]},"chains":[{"chain":{"chain_id":1,"chain_name":"Ethereum","balances":[],"nfts":[]}}]}}}}},"400":{"description":"Invalid Ethereum address","content":{"application/json":{"example":{"error":"Invalid Ethereum address format","status_code":400}}}},"401":{"description":"Authentication failed"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["report","report"],"summary":"Generate enhanced report with off-chain data","description":"Generates a comprehensive credit report that combines on-chain data with\n    additional off-chain metrics provided by the user. This allows for more\n    accurate credit assessment by including verified external data sources.\n\n    ## Request Body\n    Required field:\n    - `name`: Source name for the additional data\n\n    Optional fields (any `CreditReportSummary` field):\n    - `total_asset_usd`: Off-chain asset value\n    - `total_collateral_usd`: External collateral\n    - `total_debt_usd`: Off-chain liabilities\n    - `count_transactions`: Verified external transactions\n    - `count_transfers`: Off-chain transfer history\n\n    Example:\n    ```json\n    {\n        \"name\": \"Coinbase Account\",\n        \"total_asset_usd\": 75000,\n        \"total_collateral_usd\": 25000,\n        \"count_transactions\": 450\n    }\n    ```\n\n    ## Use Cases\n    - Including CEX (centralized exchange) balances\n    - Adding verified off-chain credit data\n    - Incorporating verified bank account data\n    - Combining TradFi + DeFi profiles\n    - Hybrid on-chain and off-chain analytics\n\n    ## Report Structure\n    - Summary includes combined (on-chain + off-chain) totals\n    - `additional.source` field shows data provenance\n    - Original on-chain data preserved in chain details\n\n    ## Performance\n    - **Response Time**: 4-12 seconds\n    - **Caching**: Not cached - recalculated on each request\n    - **Validation**: All numeric values must be non-negative","operationId":"cross_chain_report_with_metrics_report_address__address__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","title":"Address"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Data"}}}},"responses":{"200":{"description":"Successfully generated enhanced report","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cross Chain Report With Metrics Report Address  Address  Post"},"example":{"report":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","summary":{"total_asset_usd":200000.5,"total_collateral_usd":75000.0},"additional":{"source":{"name":"Coinbase Account","data":{"total_asset_usd":75000,"total_collateral_usd":25000}}}}}}}},"400":{"description":"Invalid data format or missing required fields","content":{"application/json":{"example":{"error":"Additional data must provide a 'name' field"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/report/":{"get":{"tags":["report","report"],"summary":"Get aggregated credit report for multiple addresses","description":"Generates a single aggregated credit report for multiple Ethereum addresses,\n    combining metrics across all wallets into unified totals.\n\n    ## Aggregation Method\n    - Sums all numeric metrics (assets, debt, transactions, etc.)\n    - Combines unique attestations across all addresses\n    - Uses earliest first transaction across all wallets\n    - Uses most recent last transaction across all wallets\n\n    ## Use Cases\n    - Multi-signature wallet comprehensive analysis\n    - Joint account holders assessment\n    - Family or organization portfolio review\n    - Combined entity creditworthiness evaluation\n\n    ## Report Structure\n    - `address`: Array of all successfully analyzed addresses\n    - `summary`: Aggregated totals across all addresses\n    - `first_transaction`: Earliest transaction from any address\n    - `last_transaction`: Most recent transaction from any address\n\n    ## Performance\n    - **Response Time**: 5-15 seconds (varies with address count)\n    - **Caching**: Results cached for 5 minutes per address combination\n\n    ## Limits and pricing\n    - Up to 50 distinct addresses per request (duplicates are ignored); more returns 400 `too_many_addresses`\n    - 7 Cred Units per address. With an API key you are billed for the addresses that return a report;\n      x402 and MPP are quoted and paid up front for every distinct requested address","operationId":"get_multiple_address_report_report__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated list of Ethereum addresses","title":"Address"},"description":"Comma-separated list of Ethereum addresses"}],"responses":{"200":{"description":"Successfully generated aggregated report","content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"$ref":"#/components/schemas/ErrorResponse"}],"title":"Response Get Multiple Address Report Report  Get"},"example":{"report":{"address":["0x1111111111111111111111111111111111111111","0x2222222222222222222222222222222222222222"],"timestamp":"2024-03-12T14:30:00+00:00","first_transaction":{"timestamp":1438918251,"block_number":46147,"chain_id":1},"last_transaction":{"timestamp":1710255000,"block_number":19123456,"chain_id":1},"summary":{"total_asset_usd":250000.0,"total_collateral_usd":100000.0,"total_debt_usd":30000.0,"count_transactions":4820,"count_transfers":2460,"count_balances":48,"count_identity_attestations":6}}}}}},"400":{"description":"Invalid addresses or no valid addresses provided","content":{"application/json":{"example":{"error":"No valid addresses provided","status_code":400}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/report/address/{address}/summary":{"get":{"tags":["report","report"],"summary":"Get summary credit report (aggregated metrics only)","description":"Returns a lightweight summary of key credit metrics across all supported chains,\n    without detailed per-chain breakdowns. Perfect for dashboards and quick assessments.\n\n    This endpoint returns only aggregated statistics, making it much faster than the\n    full report endpoint while still providing essential financial health indicators.\n\n    ## Summary Metrics\n    - **Asset Values**: Total assets, collateral, debt in USD\n    - **Activity Counters**: Transactions, transfers, balances\n    - **DeFi Metrics**: Active loans, collateral deposits, liquidations\n    - **Credit History**: Repayments, defaults, delinquencies\n    - **Identity**: Count and list of attestations\n    - **Time Series**: First and last transaction timestamps\n\n    ## Differences from Full Report\n    | Feature | Summary | Full Report |\n    |---------|---------|-------------|\n    | Response Time | 1-3 seconds | 3-10 seconds |\n    | Payload Size | Small | Large |\n    | Chain Details | ❌ No | ✅ Yes |\n    | Token Balances | ❌ No | ✅ Yes |\n    | NFT Listings | ❌ No | ✅ Yes |\n    | Caching | 5 minutes | 5 minutes |\n\n    ## Use Cases\n    - Dashboard summary cards\n    - Quick risk assessments\n    - Mobile app displays\n    - Portfolio overviews\n    - High-volume screening\n\n    ## Performance\n    - **Response Time**: 1-3 seconds\n    - **Caching**: Results cached for 5 minutes per address","operationId":"cross_chain_summary_report_report_address__address__summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Successfully generated summary report","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cross Chain Summary Report Report Address  Address  Summary Get"},"example":{"report":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","timestamp":"2024-03-12T14:30:00+00:00","first_transaction":{"timestamp":1438918251,"block_number":46147,"chain_id":1},"last_transaction":{"timestamp":1710255000,"block_number":19123456},"summary":{"total_asset_usd":125000.5,"total_collateral_usd":50000.0,"total_debt_usd":15000.0,"count_transactions":2456,"count_transfers":1234,"count_balances":25,"count_collateral_deposits":5,"count_active_loans":2,"count_liquidations":0,"count_defaults":0,"count_repayments":12,"count_identity_attestations":4}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/report/address/{address}/chain/{chain_id}":{"get":{"tags":["report","report"],"summary":"Get detailed report for a specific blockchain","description":"Returns a comprehensive credit report scoped to a single blockchain network.\n    Useful when you need deep insights into activity on a specific chain.\n\n    ## Report Includes\n    - All native token and ERC-20 balances on the chain\n    - NFT holdings with metadata\n    - Transaction history (first, last, count)\n    - DeFi positions (lending, borrowing, LP)\n    - Summary metrics for the specific chain\n\n    ## Differences from Cross-Chain Report\n    | Feature | Single Chain | Cross-Chain |\n    |---------|--------------|-------------|\n    | Response Time | 1-3 seconds | 3-10 seconds |\n    | Data Scope | Single network | All networks |\n    | Use Case | Chain-specific analysis | Complete portfolio view |\n    | Accuracy | Exact for chain | May miss cross-chain assets |\n\n    ## Use Cases\n    - Chain-specific compliance checks\n    - Network migration analysis\n    - Layer 2 adoption tracking\n    - Protocol-specific risk assessment\n\n    ## Supported Networks\n    - Ethereum (1)\n    - Optimism (10)\n    - Binance Smart Chain (56)\n    - Polygon (137)\n    - Robinhood Chain (4663)\n    - Base (8453)\n    - Arbitrum (42161)\n    - Celo (42220)\n    - Avalanche (43114)\n    - Linea (59144)\n\n    ## Performance\n    - **Response Time**: 1-3 seconds\n    - **Caching**: Results cached for 5 minutes per address+chain","operationId":"single_chain_report_report_address__address__chain__chain_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"},{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)","title":"Chain Id"},"description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)"}],"responses":{"200":{"description":"Successfully generated single-chain report","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Single Chain Report Report Address  Address  Chain  Chain Id  Get"},"example":{"report":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","timestamp":"2024-03-12T14:30:00+00:00","chains":[{"chain":{"chain_id":1,"chain_name":"Ethereum","balances":[],"nfts":[],"summary":{"total_asset_usd":85000.0}}}]}}}}},"400":{"description":"Invalid chain ID or address","content":{"application/json":{"example":{"error":"Unsupported chain: 999"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/report/address/{address}/chain/{chain_id}/summary":{"get":{"tags":["report","report"],"summary":"Get summary report for a specific blockchain","description":"Returns a lightweight summary of key credit metrics for a single blockchain network,\n    without detailed asset breakdowns.\n\n    ## Summary Metrics\n    - Total assets in USD\n    - Transaction counts\n    - DeFi position summaries\n    - First and last transaction timestamps\n\n    ## Performance\n    - **Response Time**: < 1 second\n    - **Caching**: Results cached for 5 minutes per address+chain","operationId":"single_chain_summary_report_report_address__address__chain__chain_id__summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"},{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)","title":"Chain Id"},"description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Single Chain Summary Report Report Address  Address  Chain  Chain Id  Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/report/address/{address}/total/usd":{"get":{"tags":["report","report"],"summary":"Portfolio Composition by Value (All Chains)","description":"Returns the portfolio composition showing USD value of assets held by an address\n    on each supported blockchain network. Useful for understanding cross-chain asset\n    distribution and portfolio diversification.\n\n    ## Included Assets\n    - Native tokens (ETH, MATIC, etc.)\n    - ERC-20 tokens\n    - Stablecoins (USDC, USDT, DAI, etc.)\n    - LP tokens (Uniswap, Curve, etc.)\n    - Wrapped tokens (WETH, WBTC, etc.)\n    - Collateral deposits in lending protocols\n\n    ## Excluded Assets\n    - NFTs (use full report for NFT valuation)\n    - Unclaimed rewards\n    - Pending transactions\n    - Debt positions (returned separately)\n\n    ## Pricing\n    - Real-time prices from Chainlink oracles\n    - Fallback to CoinGecko for non-oracle tokens\n    - USD denomination for all assets\n    - Price updates every 60 seconds\n\n    ## Use Cases\n    - Portfolio composition analysis\n    - Cross-chain asset distribution\n    - Chain-level portfolio tracking\n    - Asset diversification assessment\n\n    ## Performance\n    - **Response Time**: < 1 second\n    - **Caching**: Results cached for 5 minutes per address","operationId":"cross_chain_asset_value_report_report_address__address__total_usd_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Successfully calculated total asset value","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cross Chain Asset Value Report Report Address  Address  Total Usd Get"},"example":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","timestamp":"2024-03-12T14:30:00+00:00","total_asset_usd":125000.5,"chains":[{"chain_id":1,"chain_name":"Ethereum","total_asset_usd":85000.5},{"chain_id":8453,"chain_name":"Base","total_asset_usd":25000.0},{"chain_id":137,"chain_name":"Polygon","total_asset_usd":15000.0}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/report/address/{address}/total/usd/aggregate":{"get":{"tags":["report","report"],"summary":"Get total portfolio value in USD (all chains)","description":"Returns the aggregated total USD value of all assets held by an address across all\n    supported blockchain networks. This endpoint provides a single value representing\n    the complete portfolio value.\n\n    ## Included Assets\n    - Native tokens (ETH, MATIC, etc.)\n    - ERC-20 tokens\n    - Stablecoins (USDC, USDT, DAI, etc.)\n    - LP tokens (Uniswap, Curve, etc.)\n    - Wrapped tokens (WETH, WBTC, etc.)\n    - Collateral deposits in lending protocols\n\n    ## Excluded Assets\n    - NFTs (use full report for NFT valuation)\n    - Unclaimed rewards\n    - Pending transactions\n    - Debt positions (returned separately)\n\n    ## Pricing\n    - Real-time prices from Chainlink oracles\n    - Fallback to CoinGecko for non-oracle tokens\n    - USD denomination for all assets\n    - Price updates every 60 seconds\n\n    ## Use Cases\n    - Portfolio tracking\n    - Net worth calculations\n    - Lending capacity assessment\n    - Quick wallet valuation\n\n    ## Performance\n    - **Response Time**: < 1 second\n    - **Caching**: Results cached for 5 minutes per address","operationId":"aggregate_asset_value_report_report_address__address__total_usd_aggregate_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Successfully calculated total asset value","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Aggregate Asset Value Report Report Address  Address  Total Usd Aggregate Get"},"example":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","total_asset_usd":125000.5,"timestamp":"2024-03-12T14:30:00+00:00"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/report/address/{address}/chain/{chain_id}/total/usd":{"get":{"tags":["report","report"],"summary":"Get total portfolio value in USD (single chain)","description":"Returns the total USD value of assets held by an address on a specific blockchain network.\n\n    Same pricing and inclusion rules as the all-chains endpoint, but scoped to a single network.\n\n    ## Performance\n    - **Response Time**: < 1 second\n    - **Caching**: Results cached for 5 minutes per address+chain","operationId":"single_chain_asset_value_report_report_address__address__chain__chain_id__total_usd_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"},{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)","title":"Chain Id"},"description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Single Chain Asset Value Report Report Address  Address  Chain  Chain Id  Total Usd Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/report/address/{address}/balance-history":{"get":{"tags":["report","report"],"summary":"Wallet Balance History (Today, 30, 60, 90 Days Ago)","description":"Returns the wallet's positions today and 30, 60 and 90 days ago, summed\n    across the supported chains: a four-point series for reading leverage and\n    balance trends alongside the credit score.\n\n    ## Points\n    Each point is taken at 00:00 UTC of the day `days_ago` days before the\n    request (today's point is the current block). `blocks` maps each chain\n    read to the block it was read at; a chain the wallet had not used by then\n    contributes zeros and is absent from the map.\n\n    ## Fields (protocol split)\n    - `asset_in_wallet_usd` — tokens held directly in the wallet, excluding\n      lending receipt tokens and debt tokens\n    - `deposit_usd` — lending-protocol supply positions (Aave aTokens,\n      Compound cTokens, Morpho Blue collateral and supply): what the summary's\n      `total_collateral_usd` measures\n    - `collateral_usd` — `deposit_usd` while the wallet has debt at that point,\n      otherwise `0` (deposits backing a loan)\n    - `debt_usd` — outstanding borrowing: Aave variable-debt tokens (V2 and V3 on Ethereum, V3 on\n      Base) plus Compound V3 and Morpho Blue debt read from each market at the point's block\n\n    Values are USD as of the point's block: balances and prices both come\n    from block-pinned reads, so a past point reflects that day's prices.\n\n    ## Coverage\n    - `not_covered` lists chains this endpoint cannot read (Celo); they are\n      not part of any point.\n    - A chain the data provider could not answer for at a point is listed in\n      that point's `unavailable_chains`; the point, and the response, read\n      `\"partial\"` (the response's `unavailable_chains` is the union). If every\n      covered chain is unavailable at a point, its USD fields are `null`.\n    - A chain whose balances were read but whose Compound V3 debt or Morpho\n      Blue positions could not all be read is listed in the point's\n      `partial_chains`: its totals\n      are included but may understate debt and deposits there. The point and\n      the response read `\"partial\"`.\n\n    ## Performance\n    - **Response Time**: 2–10 seconds on a cold wallet (three past points per active chain)\n    - **Caching**: Past points are cached per wallet and day; the response for 5 minutes","operationId":"balance_history_report_report_address__address__balance_history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Balance history computed","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Balance History Report Report Address  Address  Balance History Get"},"example":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","timestamp":"2026-10-23T14:02:11+00:00","coverage":"complete","not_covered":[42220],"balance_history":[{"date":"2026-10-23","days_ago":0,"asset_in_wallet_usd":18420.55,"deposit_usd":25000.0,"collateral_usd":25000.0,"debt_usd":9000.0,"coverage":"complete","blocks":{"1":26259290,"8453":41230112}},{"date":"2026-09-23","days_ago":30,"asset_in_wallet_usd":20110.2,"deposit_usd":25000.0,"collateral_usd":25000.0,"debt_usd":12000.0,"coverage":"complete","blocks":{"1":26043610,"8453":39934800}},{"date":"2026-08-24","days_ago":60,"asset_in_wallet_usd":31500.0,"deposit_usd":0.0,"collateral_usd":0.0,"debt_usd":0.0,"coverage":"complete","blocks":{"1":25828100,"8453":38638900}},{"date":"2026-07-25","days_ago":90,"asset_in_wallet_usd":29870.4,"deposit_usd":0.0,"collateral_usd":0.0,"debt_usd":0.0,"coverage":"complete","blocks":{"1":25612700,"8453":37343000}}]}}}},"503":{"description":"Upstream data providers could not answer; retry shortly (not billed)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/report/address/{address}/cash-flow":{"get":{"tags":["report","report"],"summary":"Wallet Cash Flow (30, 90, 365 Days)","description":"Returns how money moved through the wallet over the last 30, 90 and 365\n    days, summed across every chain the wallet has used: the on-chain\n    counterpart of a bank-statement cash-flow analysis.\n\n    ## How transfers are counted\n    Every native, internal and ERC-20 transfer is valued in USD at that day's\n    price and sorted into one of three kinds:\n    - **external** — funds arriving or leaving: the `inflow_*` / `outflow_*` fields\n    - **lending** — one-way transfers to or from a known lending pool or market\n      (Aave, Compound): supplies and repayments out, borrows and withdrawals in\n    - **conversion** — a transaction that moved value both into and out of the\n      wallet (swaps, wraps, LP entries): money changed form, so it is reported\n      as `conversion_usd` and never as inflow or outflow\n\n    Lending receipt and debt tokens are not funds and are ignored. Transfers\n    of tokens that have no market price are ignored and counted in\n    `unpriced_transfers`, which also keeps airdrop spam out of the totals.\n\n    ## Per window\n    Gross inflow, outflow and net flow; lending in and out; conversion volume;\n    transfer counts and active days; stablecoin inflow, the number of 30-day\n    periods that saw any, and its coefficient of variation across periods\n    (lower is steadier); distinct counterparties and the top sender's share of\n    inflow; largest single transfers; days since the last inflow; the average\n    of the balance-history points inside the window and turnover\n    ((inflow + outflow) / average balance).\n\n    ## Coverage\n    `coverage` is `\"partial\"` when a chain's transfers could not be read\n    (`unavailable_chains`). `chains` reports the transfers read per chain and\n    whether the whole window was reachable; a window is `complete: false` when\n    a chain had more rows than one read can return and the window predates\n    the oldest row. Transfers between a user's own wallets read as external;\n    gas is not an outflow.\n\n    ## Performance\n    - **Response Time**: 5–20 seconds on a cold wallet (three feeds per active chain plus price series)\n    - **Caching**: Transfers per chain for an hour, price series for a day, the response for 5 minutes","operationId":"cash_flow_report_report_address__address__cash_flow_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Cash flow computed","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cash Flow Report Report Address  Address  Cash Flow Get"},"example":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","timestamp":"2026-10-24T18:40:11+00:00","coverage":"complete","unpriced_transfers":3,"chains":{"1":{"transfers":212,"complete":true},"8453":{"transfers":48,"complete":true}},"windows":[{"days":30,"from":"2026-09-24","to":"2026-10-24","inflow_usd":12400.0,"outflow_usd":9100.5,"net_flow_usd":3299.5,"inflow_count":6,"outflow_count":11,"lending_inflow_usd":0.0,"lending_outflow_usd":2500.0,"conversion_usd":4800.0,"conversion_count":3,"active_days":9,"stablecoin_inflow_usd":12000.0,"stablecoin_inflow_periods":1,"periods":1,"counterparties_in":2,"counterparties_out":7,"top_counterparty_inflow_share":0.968,"largest_inflow_usd":6000.0,"largest_outflow_usd":2500.0,"days_since_last_inflow":4,"average_balance_usd":18420.55,"turnover_ratio":1.167,"complete":true},{"days":90,"from":"2026-07-26","to":"2026-10-24","...":"same fields"},{"days":365,"from":"2025-10-24","to":"2026-10-24","...":"same fields"}]}}}},"503":{"description":"Upstream data providers could not answer; retry shortly (not billed)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/identity/address/{address}/attestations":{"get":{"tags":["identity","identity"],"summary":"Get identity attestations for an Ethereum address","description":"Retrieves all verified identity attestations associated with an Ethereum address\n    across multiple blockchain networks and identity verification platforms.\n\n    This endpoint aggregates identity proofs from various sources to help establish\n    trust and verify the authenticity of blockchain addresses.\n\n    ## Authentication\n    This endpoint supports two authentication methods:\n    1. **API Token**: Use `Authorization: Bearer YOUR_API_KEY` header (1 Cred Unit)\n    2. **x402 Payment**: Use `X-PAYMENT` header with USDC micropayment ($0.01)\n\n    ## Response\n    - `attestations`: the attestation names, the same list the credit score's\n      Trust factor counts\n    - `ens.name`: the address's primary ENS name, or null\n    - `gitcoin_passport`: the Passport model score, whether it passes the\n      unique-humanity threshold (20), and the verified stamps with their\n      provider, platform (Coinbase, Google, Github, Holonym, ...) and dates\n\n    ## Supported Attestation Types\n    - ENS Name: Ethereum Name Service domain ownership\n    - Basename: Base network name service (e.g., username.base.eth)\n    - Gitcoin Passport: Humanity verification (score ≥ 20 required)\n    - POAPs: Proof of Attendance Protocol tokens\n    - Verifiable Credentials: On-chain credential NFTs\n    - Sybil Resistance Tokens: Anti-sybil verification badges\n\n    ## Supported Networks\n    - Ethereum (1)\n    - Optimism (10)\n    - Binance Smart Chain (56)\n    - Polygon (137)\n    - Robinhood Chain (4663)\n    - Base (8453)\n    - Arbitrum (42161)\n    - Celo (42220)\n    - Avalanche (43114)\n    - Linea (59144)\n\n    ## Data Sources\n    - Gitcoin Passport API\n    - Various NFT analytics providers (multi-chain)\n    - ENS Registry\n    - Custom identity token contracts\n\n    ## Performance\n    - **Response Time**: Typically 1-3 seconds\n    - **Caching**: Results cached for 10 minutes per address","operationId":"get_attestations_identity_address__address__attestations_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","title":"Address"}}],"responses":{"200":{"description":"Successfully retrieved attestations","content":{"application/json":{"schema":{},"example":{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","attestations":["Gitcoin Passport","ENS Name","POAP"],"ens":{"name":"vitalik.eth"},"gitcoin_passport":{"score":34.2,"passing":true,"stamp_count":2,"stamps":[{"provider":"CoinbaseDualVerification","platform":"Coinbase","issued_at":"2026-09-01T10:00:00.000Z","expires_at":"2026-12-01T10:00:00.000Z"},{"provider":"githubContributionActivityGte#120","platform":"Github","issued_at":"2026-09-01T10:00:00.000Z","expires_at":"2026-12-01T10:00:00.000Z"}]}}}}},"400":{"description":"Invalid Ethereum address format","content":{"application/json":{"example":{"error":"Invalid Ethereum address","status_code":400}}}},"401":{"description":"Invalid or expired API token","content":{"application/json":{"example":{"detail":"Invalid or expired API token. Please create a new API token in /dashboard/console."}}}},"402":{"description":"Payment required (x402)","content":{"application/json":{"example":{"error":"authentication_required","message":"This endpoint requires authentication.","cred_units":1,"options":[{"method":"api_token","cost":"1 Cred Units"},{"method":"x402_payment","price":"$0.01","currency":"USDC"}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/identity/address/{address}/sybil":{"get":{"tags":["identity","identity"],"summary":"Get sybil detection analysis for an Ethereum address","description":"Analyzes an Ethereum address for sybil behavior by computing behavioral and\n    relational signals from on-chain transaction data. Returns a composite sybil\n    score (0-100, where 100 = highest sybil likelihood) and individual indicator\n    values.\n\n    The sybil score describes identity and automation risk. It is not an input to\n    the credit score, is delivered in commercial/analytics mode only, and is never\n    part of consumer-report delivery (see Compliance).\n\n    ## Authentication\n    This endpoint supports two authentication methods:\n    1. **API Token**: Use `Authorization: Bearer YOUR_API_KEY` header (3 Cred Units)\n    2. **x402 Payment**: Use `X-PAYMENT` header with USDC micropayment ($0.03)\n\n    ## Indicators Computed\n    - **count_unique_counterparties**: Unique addresses transacted with (normal + token transfers)\n    - **count_unique_contracts_interacted**: Unique smart contracts called\n    - **total_gas_spent_eth**: Total gas spent on outbound transactions (ETH)\n    - **funding_source_address**: Address that first funded this wallet\n    - **transaction_time_entropy**: Shannon entropy of inter-transaction timing (0-1, higher = more human-like)\n    - **identity_attestations**: Number of verified identity attestations (ENS, Gitcoin Passport, etc.)\n    - **wallet_age_days**: Days since first transaction\n    - **transaction_count**: Total normal transactions on Ethereum mainnet\n\n    ## Risk Levels\n    - **low** (0-24): Unlikely sybil — diverse activity, verified identity\n    - **medium** (25-49): Some suspicious characteristics\n    - **high** (50-74): Likely sybil — limited activity or identity\n    - **critical** (75-100): Very likely sybil — minimal on-chain presence\n\n    ## Data Sources\n    - Etherscan API (Ethereum mainnet transactions and token transfers)\n    - Identity attestations (ENS, Gitcoin Passport, POAPs, credentials)\n\n    ## Performance\n    - **Response Time**: Typically 2-5 seconds (uncached), <100ms (cached)\n    - **Caching**: Results cached for 30 minutes per address","operationId":"get_sybil_score_identity_address__address__sybil_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","title":"Address"}}],"responses":{"200":{"description":"Successfully retrieved sybil analysis","content":{"application/json":{"schema":{},"example":{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","timestamp":"2024-03-12T14:30:00+00:00","sybil_score":12,"risk_level":"low","indicators":{"count_unique_counterparties":142,"count_unique_contracts_interacted":37,"total_gas_spent_eth":0.847,"funding_source_address":"0x71C7...","transaction_time_entropy":0.82,"identity_attestations":3,"wallet_age_days":1095,"transaction_count":456}}}}},"400":{"description":"Invalid Ethereum address format","content":{"application/json":{"example":{"error":"Invalid Ethereum address","status_code":400}}}},"401":{"description":"Invalid or expired API token","content":{"application/json":{"example":{"detail":"Invalid or expired API token. Please create a new API token in /dashboard/console."}}}},"402":{"description":"Payment required (x402)","content":{"application/json":{"example":{"error":"authentication_required","message":"This endpoint requires authentication.","cred_units":3,"options":[{"method":"api_token","cost":"3 Cred Units"},{"method":"x402_payment","price":"$0.03","currency":"USDC"}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/score/address/{address}":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock credit score","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real credit score endpoint but returns deterministic\n    mock data based on the address. No blockchain queries are made.\n\n    Perfect for:\n    - Integration testing\n    - Frontend development\n    - Demo applications\n    - Rate limit preservation\n\n    The mock data is deterministic (same address = same score) but varies across\n    different addresses to provide realistic testing scenarios.","operationId":"sandbox_get_score_sandbox_score_address__address__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Mock credit score generated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredScore"},"example":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","timestamp":"2024-03-12T14:30:00+00:00","model_version":"andromeda_1.5","score":726,"decile":8,"range":"good"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock boosted credit score","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real boosted credit score endpoint but returns\n    deterministic mock data. No blockchain queries are made.\n\n    The boost calculation is simulated based on the provided additional asset data.\n\n    **Request Body Example**:\n    ```json\n    {\n        \"total_asset_usd\": 50000\n    }\n    ```","operationId":"sandbox_post_score_sandbox_score_address__address__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","title":"Address"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredScore"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/score/":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock aggregated credit score for multiple addresses","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real multi-address credit score endpoint but returns\n    deterministic mock data. No blockchain queries are made.\n\n    Generates a single aggregated credit score for multiple Ethereum addresses,\n    useful for testing multi-sig wallets, joint accounts, or combined portfolio scenarios.\n\n    **Query Parameters**:\n    - `address`: Comma-separated list of Ethereum addresses\n\n    **Example Request**:\n    ```\n    GET /sandbox/score/?address=0x1111111111111111111111111111111111111111,0x2222222222222222222222222222222222222222\n    ```\n\n    **Scoring Method**:\n    - Aggregates individual mock credit scores\n    - Only successfully validated addresses are included\n\n    **Use Cases**:\n    - Testing multi-sig wallet integrations\n    - Demo applications with group scoring\n    - Frontend development for joint accounts","operationId":"sandbox_get_multiple_scores_sandbox_score__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated list of Ethereum addresses","title":"Address"},"description":"Comma-separated list of Ethereum addresses"}],"responses":{"200":{"description":"Mock aggregated credit score generated successfully","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CredScore"},{"$ref":"#/components/schemas/ErrorResponse"}],"title":"Response Sandbox Get Multiple Scores Sandbox Score  Get"},"example":{"address":["0x1111111111111111111111111111111111111111","0x2222222222222222222222222222222222222222","0x3333333333333333333333333333333333333333"],"timestamp":"2024-03-12T14:30:00+00:00","model_version":"andromeda_1.5","score":745,"decile":8,"range":"good"}}}},"400":{"description":"Invalid request or no valid addresses provided","content":{"application/json":{"example":{"error":"No valid addresses provided","status_code":400}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/score/batch/":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Get mock individual credit scores for multiple addresses","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real `/score/batch/` endpoint but returns deterministic mock data.\n    No blockchain queries are made.\n\n    Returns individual credit scores for multiple Ethereum addresses without aggregation,\n    optimized for testing dapp integrations that need per-wallet scoring.\n\n    **Query Parameters**:\n    - `address`: Comma-separated list of Ethereum addresses\n\n    **Example Request**:\n    ```\n    GET /sandbox/score/batch/?address=0x1111111111111111111111111111111111111111,0x2222222222222222222222222222222222222222\n    ```\n\n    **Response Format**:\n    - Returns a collection of individual wallet scores\n    - Each score includes full details (address, score, decile, range, timestamp)\n    - Only successfully validated addresses are included\n\n    **Use Cases**:\n    - Testing batch scoring in dapp user interfaces\n    - Frontend development for multi-wallet displays\n    - Demo applications with per-wallet breakdown\n    - Integration testing without consuming API quotas","operationId":"sandbox_get_individual_scores_sandbox_score_batch__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated list of Ethereum addresses","title":"Address"},"description":"Comma-separated list of Ethereum addresses"}],"responses":{"200":{"description":"Mock individual credit scores generated successfully","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CredScoresResponse"},{"$ref":"#/components/schemas/ErrorResponse"}],"title":"Response Sandbox Get Individual Scores Sandbox Score Batch  Get"},"example":{"scores":[{"address":"0x1111111111111111111111111111111111111111","timestamp":"2024-03-12T14:30:00+00:00","model_version":"andromeda_1.5","score":726,"decile":8,"range":"good"},{"address":"0x2222222222222222222222222222222222222222","timestamp":"2024-03-12T14:30:00+00:00","model_version":"andromeda_1.5","score":845,"decile":9,"range":"very_good"}],"count":2}}}},"400":{"description":"Invalid request or no valid addresses provided","content":{"application/json":{"example":{"error":"No valid addresses provided","status_code":400}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/report/address/{address}":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock comprehensive credit report","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real cross-chain credit report endpoint but returns\n    deterministic mock data based on the address. No blockchain queries are made.\n\n    The mock report includes:\n    - Summary metrics (assets, collateral, debt)\n    - Transaction history\n    - Activity counts\n    - Chain-specific balances\n    - Identity attestations","operationId":"sandbox_cross_chain_report_sandbox_report_address__address__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock enhanced report with off-chain data","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real enhanced report endpoint but returns mock data.\n    The additional data is merged into the mock report summary.\n\n    **Request Body Example**:\n    ```json\n    {\n        \"name\": \"Coinbase Account\",\n        \"total_asset_usd\": 75000,\n        \"total_collateral_usd\": 25000,\n        \"count_transactions\": 450\n    }\n    ```","operationId":"sandbox_cross_chain_report_with_metrics_sandbox_report_address__address__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","title":"Address"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/report/":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock aggregated report for multiple addresses","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real multi-address report endpoint but returns\n    deterministic mock data aggregated across multiple addresses.\n\n    Generates a single aggregated credit report combining metrics from multiple\n    Ethereum addresses into unified totals.\n\n    **Query Parameters**:\n    - `address`: Comma-separated list of Ethereum addresses\n\n    **Example Request**:\n    ```\n    GET /sandbox/report/?address=0x1111111111111111111111111111111111111111,0x2222222222222222222222222222222222222222\n    ```\n\n    **Mock Aggregation**:\n    - Sums all numeric metrics across addresses\n    - Combines unique attestations\n    - Shows earliest and latest transactions\n\n    **Use Cases**:\n    - Testing multi-sig wallet integrations\n    - Demo applications with group analysis\n    - Frontend development for joint accounts\n    - Integration testing for aggregated metrics","operationId":"sandbox_get_multiple_address_report_sandbox_report__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated list of Ethereum addresses","title":"Address"},"description":"Comma-separated list of Ethereum addresses"}],"responses":{"200":{"description":"Mock aggregated report generated successfully","content":{"application/json":{"schema":{},"example":{"report":{"address":["0x1111111111111111111111111111111111111111","0x2222222222222222222222222222222222222222"],"timestamp":"2024-03-12T14:30:00+00:00","first_transaction":{"timestamp":"2022-01-15T10:30:00+00:00","block_number":14000000},"last_transaction":{"timestamp":"2024-03-10T15:45:00+00:00","block_number":19500000},"summary":{"total_asset_usd":250000.0,"total_collateral_usd":100000.0,"total_debt_usd":30000.0,"count_transactions":4820,"count_transfers":2460}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/report/address/{address}/summary":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock summary report","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real summary report endpoint but returns mock data\n    without detailed chain breakdowns. Perfect for testing dashboard integrations.\n\n    Returns only aggregated metrics:\n    - Asset values\n    - Activity counters\n    - DeFi metrics\n    - Identity attestations","operationId":"sandbox_cross_chain_summary_report_sandbox_report_address__address__summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/report/address/{address}/chain/{chain_id}":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock single-chain report","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real single-chain report endpoint but returns mock data\n    for a specific blockchain network.\n\n    ## Supported Networks\n    - Ethereum (1)\n    - Optimism (10)\n    - Binance Smart Chain (56)\n    - Polygon (137)\n    - Robinhood Chain (4663)\n    - Base (8453)\n    - Arbitrum (42161)\n    - Celo (42220)\n    - Avalanche (43114)\n    - Linea (59144)","operationId":"sandbox_single_chain_report_sandbox_report_address__address__chain__chain_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"},{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)","title":"Chain Id"},"description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/report/address/{address}/chain/{chain_id}/summary":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock single-chain summary","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real single-chain summary endpoint but returns\n    mock data without detailed balances.","operationId":"sandbox_single_chain_summary_report_sandbox_report_address__address__chain__chain_id__summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"},{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)","title":"Chain Id"},"description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/report/address/{address}/total/usd":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock total portfolio value","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real total portfolio value endpoint but returns\n    mock data showing total asset value across all chains.","operationId":"sandbox_cross_chain_asset_value_report_sandbox_report_address__address__total_usd_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/report/address/{address}/balance-history":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock wallet balance history","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real balance-history endpoint: four dated\n    points (today, 30, 60, 90 days ago) with `asset_in_wallet_usd`,\n    `deposit_usd`, `collateral_usd` and `debt_usd`, in the same shape and\n    with the same field rules as the live response.","operationId":"sandbox_balance_history_report_sandbox_report_address__address__balance_history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/report/address/{address}/cash-flow":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock wallet cash flow","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real cash-flow endpoint: flow statistics over\n    30, 90 and 365 days in the same shape as the live response.","operationId":"sandbox_cash_flow_report_sandbox_report_address__address__cash_flow_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sandbox/report/address/{address}/chain/{chain_id}/total/usd":{"get":{"tags":["sandbox","sandbox"],"summary":"[SANDBOX] Generate mock single-chain portfolio value","description":"**⚠️ SANDBOX ENDPOINT - Returns mock data for testing only**\n\n    This endpoint simulates the real single-chain portfolio value endpoint but\n    returns mock data showing total asset value on a specific chain.","operationId":"sandbox_single_chain_asset_value_report_sandbox_report_address__address__chain__chain_id__total_usd_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"},{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)","title":"Chain Id"},"description":"Blockchain network ID (e.g., `1` for Ethereum, `8453` for Base, `137` for Polygon)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/graph/address/{address}":{"get":{"tags":["graph","graph"],"summary":"Get transaction graph for address","description":"Generates a transaction graph visualization for any Ethereum address,\n    showing ERC20 token transfer relationships as nodes and edges.\n\n    ## Graph Structure\n    - **Nodes**: Wallet addresses and token symbols\n    - **Edges**: Token transfer relationships (SENT/RECEIVED)\n    - **Format**: Tripartite graph structure (wallet → token → wallet)\n    - **Sanctions**: every wallet node is screened against the OFAC SDN and\n      Consolidated lists; listed wallets carry `sanctioned: true` plus the\n      matching list entries in `sanctions`, and `sanctioned_wallets` counts them\n\n    ## Use Cases\n    - Visualize transaction flow and relationships\n    - Identify counterparties and token interactions\n    - Analyze wallet activity patterns\n    - Map transaction networks\n\n    ## Supported Networks\n    - Ethereum (1)\n    - Optimism (10)\n    - Binance Smart Chain (56)\n    - Polygon (137)\n    - Robinhood Chain (4663)\n    - Base (8453)\n    - Arbitrum (42161)\n    - Celo (42220)\n    - Avalanche (43114)\n    - Linea (59144)\n\n    ## Response Format\n    ```json\n    {\n      \"nodes\": [\n        {\"id\": \"0xabc...\", \"label\": \"0xabc...\", \"group\": \"wallet\", \"sanctioned\": false, \"sanctions\": []},\n        {\"id\": \"USDC\", \"label\": \"USDC\", \"group\": \"token\", \"sanctioned\": false, \"sanctions\": []},\n        {\"id\": \"0xdef...\", \"label\": \"0xdef...\", \"group\": \"wallet\", \"sanctioned\": true,\n         \"sanctions\": [{\"source\": \"ofac_sdn\", \"entity_name\": \"TORNADO CASH\", \"programs\": \"CYBER2\", ...}]}\n      ],\n      \"edges\": [\n        {\"from\": \"0xabc...\", \"to\": \"USDC\", \"label\": \"SENT\"},\n        {\"from\": \"USDC\", \"to\": \"0xdef...\", \"label\": \"RECEIVED\"}\n      ],\n      \"sanctioned_wallets\": 1,\n      \"total_transactions\": 150,\n      \"chain_id\": 1,\n      \"chain_name\": \"Ethereum Mainnet\",\n      \"address\": \"0xabc...\"\n    }\n    ```\n\n    ## Performance\n    - **Response Time**: 2-5 seconds on first request, ~50-100ms on cached requests\n    - **Caching**: Transfers are cached for 10 minutes; the sanctions match is\n      made on every request, so a new designation shows as soon as it is ingested\n    - **Data Source**: Etherscan API V2\n    - **Transaction Limit**: All historical ERC20 token transfers\n\n    ## Cred Units\n    - **Cost**: 3 Cred Units per request (failed requests are free), the same as the\n      `get_transaction_graph` MCP tool\n    - Cached responses still consume Cred Units but return much faster","operationId":"get_transaction_graph_graph_address__address__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address to analyze","title":"Address"},"description":"Ethereum address to analyze"},{"name":"chain_id","in":"query","required":false,"schema":{"type":"integer","description":"Chain ID of the blockchain network","default":1,"title":"Chain Id"},"description":"Chain ID of the blockchain network"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionGraphResponse"}}}},"401":{"description":"Invalid or expired API token","content":{"application/json":{"example":{"detail":"Invalid or expired API token. Please create a new API token in /dashboard/console."}}}},"402":{"description":"Payment required (x402)","content":{"application/json":{"example":{"error":"authentication_required","message":"This endpoint requires authentication.","cred_units":3,"options":[{"method":"api_token","cost":"3 Cred Units"},{"method":"x402_payment","price":"$0.03","currency":"USDC"}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/markets/chain/{chain_id}/protocol/aave/version/2":{"get":{"tags":["markets","markets"],"summary":"Get Aave V2 lending/borrowing yields","description":"Fetch current deposit and borrow APYs for all reserves on Aave V2 (Ethereum mainnet).\n\n    Returns yield data including:\n    - Token name and address\n    - Deposit APY (interest earned on supplied assets)\n    - Variable borrow APY (interest paid on borrowed assets)\n    - Reserve status (ACTIVE, FROZEN, INACTIVE)\n    - Configuration details (LTV, liquidation thresholds, etc.)\n\n    **Supported Chain ID**: 1 (Ethereum Mainnet)\n\n    **Authentication**: API token required (created in /dashboard/console)\n\n    **Use Cases**:\n    - Compare lending rates across DeFi protocols\n    - Monitor yield opportunities\n    - Build DeFi aggregators\n    - Risk assessment for lending protocols","operationId":"get_aave_v2_yields_markets_chain__chain_id__protocol_aave_version_2_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","title":"Chain Id"}}],"responses":{"200":{"description":"Successfully retrieved Aave V2 yields","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Aave V2 Yields Markets Chain  Chain Id  Protocol Aave Version 2 Get"},"example":[{"token_name":"USDC","token_address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","deposit_apy":2.45,"variable_borrow_apy":3.67,"status":"ACTIVE","is_active":true,"is_frozen":false,"configuration":{"ltv":8000,"liquidation_threshold":8500,"ltv_percentage":80.0,"liquidation_threshold_percentage":85.0}}]}}},"400":{"description":"Invalid chain ID"},"401":{"description":"Authentication failed"},"500":{"description":"Error fetching yield data"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/markets/chain/{chain_id}/protocol/aave/version/3":{"get":{"tags":["markets","markets"],"summary":"Get Aave V3 lending/borrowing yields","description":"Fetch current deposit and borrow APYs for all reserves on Aave V3 (Ethereum mainnet).\n\n    Returns yield data including:\n    - Token name and address\n    - Deposit APY (interest earned on supplied assets)\n    - Variable borrow APY (interest paid on borrowed assets)\n\n    **Supported Chain ID**: 1 (Ethereum Mainnet)\n\n    **Authentication**: API token required (created in /dashboard/console)\n\n    **Use Cases**:\n    - Compare lending rates across DeFi protocols\n    - Monitor yield opportunities on Aave V3\n    - Build DeFi aggregators\n    - Track interest rate changes","operationId":"get_aave_v3_yields_markets_chain__chain_id__protocol_aave_version_3_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","title":"Chain Id"}}],"responses":{"200":{"description":"Successfully retrieved Aave V3 yields","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Aave V3 Yields Markets Chain  Chain Id  Protocol Aave Version 3 Get"},"example":[{"token_name":"USDC","token_address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","deposit_apy":3.12,"variable_borrow_apy":4.25}]}}},"400":{"description":"Invalid chain ID"},"401":{"description":"Authentication failed"},"500":{"description":"Error fetching yield data"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/markets/chain/{chain_id}/protocol/moola-market":{"get":{"tags":["markets","markets"],"summary":"Get Moola Market lending/borrowing yields","description":"Fetch current deposit and borrow APYs for all reserves on Moola Market (Celo network).\n\n    Moola Market is Aave-based lending protocol on Celo, providing yield opportunities\n    for Celo native assets.\n\n    Returns yield data including:\n    - Token name and address\n    - Deposit APY (interest earned on supplied assets)\n    - Variable borrow APY (interest paid on borrowed assets)\n\n    **Supported Chain ID**: 42220 (Celo Mainnet)\n\n    **Authentication**: API token required (created in /dashboard/console)\n\n    **Use Cases**:\n    - Monitor Celo DeFi yields\n    - Compare rates with Ethereum-based protocols\n    - Build Celo-specific DeFi applications","operationId":"get_moola_market_yields_markets_chain__chain_id__protocol_moola_market_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","title":"Chain Id"}}],"responses":{"200":{"description":"Successfully retrieved Moola Market yields","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Moola Market Yields Markets Chain  Chain Id  Protocol Moola Market Get"},"example":[{"token_name":"cUSD","token_address":"0x765DE816845861e75A25fCA122bb6898B8B1282a","deposit_apy":4.56,"variable_borrow_apy":6.78}]}}},"400":{"description":"Invalid chain ID"},"401":{"description":"Authentication failed"},"500":{"description":"Error fetching yield data"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallet/message/{address}":{"get":{"tags":["wallet","wallet"],"summary":"Get message to sign for wallet authentication","description":"Generates a timestamped message for Web3 wallet authentication.\n\n    This is Step 1 of the wallet authentication flow:\n    1. **Get Message**: Call this endpoint to receive a message to sign\n    2. **Sign Message**: Use your Web3 wallet (MetaMask, etc.) to sign the message\n    3. **Verify & Get Token**: Submit the signature to `/wallet/verify` to get a JWT token\n\n    ## Message Format\n    The message includes:\n    - A statement of wallet ownership naming the address\n    - A UTC issue timestamp and a random nonce\n    - An authentication tag proving the server issued the message\n\n    ## Security\n    - The message is bound to the address and to this server (HMAC tag)\n    - Messages expire after `WALLET_MESSAGE_TTL_SECONDS` (default 5 minutes); sign promptly\n    - Submit the message to `/wallet/verify` exactly as returned (do not edit it)\n    - The endpoint is public - no authentication required\n\n    ## Use Cases\n    - dApp authentication (score.credprotocol.com)\n    - Wallet-based login for credit score viewing\n    - Proof of wallet ownership","operationId":"get_signature_message_wallet_message__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","title":"Address"}}],"responses":{"200":{"description":"Successfully generated message to sign","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatureMessageResponse"},"example":{"message":"Proof of wallet ownership for 0x742d35Cc6634C0532925a3b844Bc454e4438f44e\nIssued: 2025-11-27T12:34:56Z\nNonce: 9f1c2b3a4d5e6f70\nAuth: 3b0c44298fc1c149afbf4c8996fb9242\nI am signing this message to verify that I own this wallet."}}}},"400":{"description":"Invalid address format","content":{"application/json":{"example":{"error":"Invalid Ethereum address"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallet/verify":{"post":{"tags":["wallet","wallet"],"summary":"Verify wallet signature and get JWT token","description":"Verifies a signed message and returns a JWT token for authenticated requests.\n\n    This is Step 3 of the wallet authentication flow:\n    1. Get Message: Call `/wallet/message/{address}` to receive a message\n    2. Sign Message: Use your Web3 wallet to sign the message\n    3. **Verify & Get Token**: Submit the signature here to get a JWT token\n\n    ## Request Body\n    - `address`: The Ethereum wallet address\n    - `message`: The exact message that was signed (from step 1)\n    - `signature`: The signature produced by signing the message\n\n    - `scope` (optional): `dapp` (default) or `snap`\n\n    ## Response\n    On successful verification:\n    - `token`: JWT access token for authenticated requests\n    - `expiry`: Token expiration timestamp (24 hours by default)\n    - `address`: The verified wallet address (checksummed)\n    - `scope`: The scope the token was issued with\n\n    ## Scope\n    - `dapp`: the token only reads the signing wallet's own data (score, report,\n      identity, sanctions) and pays no Cred Units.\n    - `snap`: issued to the Cred MetaMask Snap. Own-wallet data is free as above;\n      in addition `GET /sanctions/screen/{address}` and `GET /score/address/{address}`\n      accept *other* addresses, each charged to a free per-wallet allowance of\n      `SNAP_MONTHLY_CRED_UNITS` (300) Cred Units per calendar month. When it is\n      spent the API answers `429` with `error: \"snap_allowance_exceeded\"`; read the\n      balance with `GET /wallet/allowance`.\n\n    ## Security\n    - The message must have been issued by `/wallet/message/{address}` for the same\n      address and be younger than `WALLET_MESSAGE_TTL_SECONDS` (default 5 minutes)\n    - Signature is cryptographically verified (ecrecover, EIP-1271 or ERC-6492)\n    - The recovered address must match the provided address\n    - Tokens expire after 24 hours and grant access to the verified address's own data\n      (plus the allowance-limited counterparty lookups for `snap`)\n\n    ## Token Usage\n    Include the token in subsequent API requests:\n    ```\n    Authorization: Bearer <token>\n    ```","operationId":"verify_wallet_signature_wallet_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successfully verified signature and generated token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletVerifyResponse"},"example":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...","expiry":"2025-11-28T12:34:56.789012+00:00","address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"}}}},"400":{"description":"Invalid request (missing fields or invalid signature)","content":{"application/json":{"examples":{"missing_fields":{"summary":"Missing required fields","value":{"error":"Missing required fields"}},"invalid_signature":{"summary":"Invalid signature","value":{"error":"Invalid signature"}},"invalid_message":{"summary":"Message not issued by this server, for another address, or expired","value":{"error":"Invalid or expired message"}},"invalid_address":{"summary":"Invalid address","value":{"error":"Invalid Ethereum address"}}}}}},"500":{"description":"Internal server error","content":{"application/json":{"example":{"error":"Internal server error"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallet/allowance":{"get":{"tags":["wallet","wallet"],"summary":"Current Snap counterparty allowance","description":"How many free Cred Units a MetaMask Snap wallet token has left this month for\n    screening and scoring addresses other than its own.\n\n    Requires a `snap`-scoped wallet token (`POST /wallet/verify` with\n    `scope: \"snap\"`); API keys, user sessions and `dapp` tokens get `401`.\n    Own-wallet requests never draw on this allowance. The counter resets on the\n    first of each month (UTC).","operationId":"get_wallet_allowance_wallet_allowance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapAllowanceResponse"}}}},"401":{"description":"Not a Snap wallet token"}},"security":[{"HTTPBearer":[]}]}},"/wallet/disputes":{"get":{"tags":["wallet","wallet"],"summary":"List your disputes","description":"The disputes filed about the signed-in wallet's own address, newest first,\n    with their status, due date and resolution. Requires a wallet token\n    (`dapp` or `snap`); API keys, x402 and MPP get `403`. Free.","operationId":"list_wallet_disputes_wallet_disputes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeList"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["wallet","wallet"],"summary":"Dispute your own credit file","description":"Files a dispute about the signed-in wallet's own score or report: an event\n    that is wrong, a wallet attributed to the wrong person, the wrong subject\n    type, or anything else.\n\n    Requires a wallet token (`POST /wallet/verify`, scope `dapp` or `snap`);\n    the dispute is always about the token's own address. API keys, x402 and\n    MPP payments get `403`. Free.\n\n    ## Request Body\n    - `category`: `inaccurate_event`, `not_my_wallet`, `wrong_subject_type` or `other`\n    - `reference` (optional, up to 200 characters): the transaction hash or lending event id\n    - `description`: 10 to 4000 characters\n    - `contact_email`: where the confirmation and the outcome are sent\n\n    ## What happens next\n    The dispute is reinvestigated within 30 days (`due_at`).\n    While it is open, the address's score and report carry `under_dispute: true`.\n    If the reinvestigation finds an event wrong, the event is excluded and the\n    score is recomputed without it. The outcome is emailed to `contact_email`.\n\n    At most 3 disputes can be open per address\n    (`429 too_many_open_disputes`), and a wallet can file at most\n    10 per hour (`429`).","operationId":"create_wallet_dispute_wallet_disputes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dispute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/wallet/inquiries":{"get":{"tags":["wallet","wallet"],"summary":"Who has received your score or report","description":"The inquiries about the signed-in wallet in the last 24 months, newest first:\n    every score, report, identity, sanctions or graph answer about it that was\n    delivered to someone, with who received it, the endpoint, the purpose the\n    customer declared and the delivery mode.\n\n    Requesters are shown by a label: an API customer by their email domain, an\n    anonymous pay-per-call caller by payer address (x402) or payment method (MPP),\n    a MetaMask Snap user by wallet, and your own lookups as \"You\".\n\n    Requires a wallet token (`POST /wallet/verify`, scope `dapp` or `snap`); API\n    keys and payments get `403`. Free. Paginate with `before` = the previous\n    page's `next_before`.","operationId":"get_wallet_inquiries_wallet_inquiries_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"ISO timestamp cursor: return inquiries older than this","title":"Before"},"description":"ISO timestamp cursor: return inquiries older than this"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InquiryListResponse"}}}},"401":{"description":"No wallet token, or an expired one: sign in with POST /wallet/verify"},"403":{"description":"An API key, user session or payment was sent: only the wallet owner may read this"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallet/file":{"get":{"tags":["wallet","wallet"],"summary":"Your file: score, history, lending events, inquiries and your rights","description":"Everything Cred Protocol holds about the signed-in wallet, in one response:\n    the current score with its key factors, every recorded score, the lending\n    events the score used (including liquidations left out as older than seven\n    years), the first page of inquiries (see `GET /wallet/inquiries`), and how\n    to dispute an item.\n\n    When the chain data providers cannot answer just now, the file is returned\n    with `partial: true` and `score` / `credit_events` null.\n\n    Requires a wallet token (`POST /wallet/verify`, scope `dapp` or `snap`); API\n    keys and payments get `403`. Free.","operationId":"get_wallet_file_wallet_file_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerFileResponse"}}}},"401":{"description":"No wallet token, or an expired one: sign in with POST /wallet/verify"},"403":{"description":"An API key, user session or payment was sent: only the wallet owner may read this"}},"security":[{"HTTPBearer":[]}]}},"/sanctions/exposure/{address}":{"get":{"tags":["sanctions","sanctions"],"summary":"Screen an EVM address and everything it has transacted with","description":"Screens an EVM address against the OFAC sanctions lists and then goes one\n    hop out: every address it has ever transacted with (native, internal and\n    ERC-20 transfers, in either direction) and the address that first funded\n    it are screened too.\n\n    ## What it answers\n    - `sanctioned`: is the address itself listed (same as `/sanctions/screen`)\n    - `funding_source`: who first sent it value, and whether they are listed.\n      A wallet funded by a Tornado Cash withdrawal shows the pool contract\n      here, since the withdrawal arrives as an internal transaction from it\n    - `exposure.sanctioned_counterparties`: every listed address it has\n      transacted with, with direction, transaction count, first and last\n      contact, and whether the contact is within the last 90 days\n    - `risk`: `sanctioned`, `funded_by_sanctioned`, `exposed` or `none`\n\n    ## Chains\n    Ethereum mainnet by default. Pass `chains` as a comma-separated list of\n    chain ids (up to 5) to read other networks too; OFAC lists one EVM address,\n    so a listed address is listed on every chain.\n\n    ## Coverage\n    `coverage` is `partial` when a chain could not be read or has more rows than\n    one query returns (the newest 10,000 of each kind are read, so the oldest\n    activity of a very busy wallet may be missing; `funding_source.certain` is\n    then false). When no chain answered it is `unavailable` and only the direct\n    screening result is meaningful.\n\n    ## Authentication\n    1. **API Token**: `Authorization: Bearer YOUR_API_KEY` (3 Cred Units)\n    2. **x402 Payment**: `X-PAYMENT` header with USDC micropayment ($0.03)\n\n    ## Performance\n    - **Response Time**: 2-6 seconds per chain (three Etherscan feeds)\n    - **Caching**: a chain's counterparty set is cached for 30 minutes; the\n      list match itself runs on every request, so new designations show up\n      within an hour of OFAC publishing them\n\n    ## Cred Units\n    - **Cost**: 3 Cred Units per request","operationId":"screen_sanctions_exposure_sanctions_exposure__address__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)","title":"Address"},"description":"Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35...`)"},{"name":"chains","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated chain ids to read (default `1`, at most 5), e.g. `1,8453`","title":"Chains"},"description":"Comma-separated chain ids to read (default `1`, at most 5), e.g. `1,8453`"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SanctionsExposureResponse"}}}},"400":{"description":"Invalid or unsupported chain id","content":{"application/json":{"example":{"detail":"Unsupported chain id 999; supported: [1, 10, ...]"}}}},"404":{"description":"Invalid address or ENS name that could not be resolved","content":{"application/json":{"example":{"detail":"Invalid Ethereum address"}}}},"401":{"description":"Invalid or expired API token","content":{"application/json":{"example":{"detail":"Invalid or expired API token"}}}},"402":{"description":"Payment required (x402)","content":{"application/json":{"example":{"error":"authentication_required","message":"This endpoint requires authentication.","cred_units":3}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sanctions/screen/{address}":{"get":{"tags":["sanctions","sanctions"],"summary":"Screen a crypto address against OFAC sanctions lists","description":"Screens a cryptocurrency address against the US OFAC sanctions lists and\n    returns every active list entry that matches, including the sanctioned\n    party's name, type, and sanctions programs.\n\n    ## Authentication\n    This endpoint supports two authentication methods:\n    1. **API Token**: Use `Authorization: Bearer YOUR_API_KEY` header (1 Cred Unit)\n    2. **x402 Payment**: Use `X-PAYMENT` header with USDC micropayment ($0.01)\n\n    ## Supported Lists\n    - **OFAC SDN List** (`ofac_sdn`): Specially Designated Nationals and Blocked Persons\n    - **OFAC Consolidated List** (`ofac_consolidated`): Non-SDN consolidated sanctions\n\n    Lists are refreshed hourly against OFAC's publication stream, so new\n    designations appear within an hour of publication.\n\n    ## Supported Address Types\n    Any digital-currency address published by OFAC — Ethereum/EVM (`0x...`),\n    Bitcoin, Litecoin, Monero, Tron, XRP, and others. ENS names (e.g.\n    `example.eth`) are resolved to their Ethereum address before screening.\n\n    ## Matching\n    Matching is exact on the address value, case-insensitively — an EIP-55\n    checksummed Ethereum address matches regardless of casing. Delisted\n    addresses (removed by OFAC) are never reported as sanctioned.\n\n    ## Response Format\n    - `sanctioned`: true if the address appears on any checked list\n    - `matches`: one entry per active list row, with the party name,\n      sanctions programs, currency, and a deep link to the OFAC entry\n\n    ## Performance\n    - **Response Time**: Typically < 100ms (single indexed database lookup)\n\n    ## Cred Units\n    - **Cost**: 1 Cred Unit per request","operationId":"screen_sanctions_sanctions_screen__address__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","title":"Address"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SanctionsScreenResponse"}}}},"404":{"description":"ENS name could not be resolved","content":{"application/json":{"example":{"detail":"Could not resolve ENS name: example.eth"}}}},"401":{"description":"Invalid or expired API token","content":{"application/json":{"example":{"detail":"Invalid or expired API token. Please create a new API token in /dashboard/console."}}}},"402":{"description":"Payment required (x402)","content":{"application/json":{"example":{"error":"authentication_required","message":"This endpoint requires authentication.","cred_units":1,"options":[{"method":"api_token","cost":"1 Cred Units"},{"method":"x402_payment","price":"$0.01","currency":"USDC"}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/sandbox/score/batch":{"post":{"tags":["mcp-sandbox"],"summary":"Get mock credit scores for multiple addresses","description":"Mock individual scores for several addresses.\n\n**Sandbox:** deterministic mock data; requires an API key, costs 0 CU.","operationId":"http_sandbox_credit_scores_batch_mcp_sandbox_score_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchScoresRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/sandbox/score/{address}":{"get":{"tags":["mcp-sandbox"],"summary":"Get mock credit score for an Ethereum address","description":"Mock credit score (300-1000).\n\n**Sandbox:** deterministic mock data; requires an API key, costs 0 CU.","operationId":"http_sandbox_credit_score_mcp_sandbox_score__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"},{"name":"include_factors","in":"query","required":false,"schema":{"type":"boolean","description":"Include detailed score factors","default":false,"title":"Include Factors"},"description":"Include detailed score factors"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/sandbox/summary/{address}":{"get":{"tags":["mcp-sandbox"],"summary":"Get mock financial summary for an Ethereum address","description":"Mock multi-chain credit report.\n\n**Sandbox:** deterministic mock data; requires an API key, costs 0 CU.","operationId":"http_sandbox_financial_summary_mcp_sandbox_summary__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/sandbox/portfolio/{address}":{"get":{"tags":["mcp-sandbox"],"summary":"Get mock total portfolio value","description":"Mock total USD value across all chains.\n\n**Sandbox:** deterministic mock data; requires an API key, costs 0 CU.","operationId":"http_sandbox_portfolio_value_mcp_sandbox_portfolio__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/sandbox/portfolio/{address}/chain/{chain_id}":{"get":{"tags":["mcp-sandbox"],"summary":"Get mock portfolio value on a specific blockchain","description":"Mock USD value of assets on one chain.\n\n**Sandbox:** deterministic mock data; requires an API key, costs 0 CU.","operationId":"http_sandbox_chain_portfolio_value_mcp_sandbox_portfolio__address__chain__chain_id__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"},{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","description":"Blockchain network ID","title":"Chain Id"},"description":"Blockchain network ID"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/sandbox/portfolio/{address}/history":{"get":{"tags":["mcp-sandbox"],"summary":"Get mock wallet balance history","description":"Mock positions today and 30, 60, 90 days ago.\n\n**Sandbox:** deterministic mock data; requires an API key, costs 0 CU.","operationId":"http_sandbox_balance_history_mcp_sandbox_portfolio__address__history_get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/sandbox/portfolio/{address}/cash-flow":{"get":{"tags":["mcp-sandbox"],"summary":"Get mock wallet cash flow","description":"Mock flow statistics over 30, 90 and 365 days.\n\n**Sandbox:** deterministic mock data; requires an API key, costs 0 CU.","operationId":"http_sandbox_cash_flow_mcp_sandbox_portfolio__address__cash_flow_get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/sandbox/tools":{"get":{"tags":["mcp-sandbox"],"summary":"List sandbox MCP tools","description":"Returns the sandbox (mock data) REST endpoints.","operationId":"list_available_tools_mcp_sandbox_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Available Tools Mcp Sandbox Tools Get"}}}}}}},"/mcp/skill.md":{"get":{"tags":["mcp-live","mcp-live"],"summary":"Get Skill Md","description":"Get the MCP agent skill instructions (SKILL.md).","operationId":"get_skill_md_mcp_skill_md_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/mcp/score/aggregate":{"get":{"tags":["mcp-live"],"summary":"Get aggregated credit score for multiple addresses","description":"Single combined score across several addresses (1 CU per address).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_aggregate_score_mcp_score_aggregate_get","parameters":[{"name":"addresses","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated Ethereum addresses or ENS names","title":"Addresses"},"description":"Comma-separated Ethereum addresses or ENS names"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/score/batch":{"post":{"tags":["mcp-live"],"summary":"Get credit scores for multiple addresses","description":"Individual scores for each address in one call (1 CU per address).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_credit_scores_batch_mcp_score_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchScoresRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/score/{address}":{"get":{"tags":["mcp-live"],"summary":"Get credit score for an Ethereum address","description":"Cred Protocol credit score (300-1000) for an address or ENS name. 1 CU.\n\n    **Score Ranges:** 920-1000 Excellent · 840-919 Very Good · 750-839 Good ·\n    640-749 Fair · 300-639 Low\n    \n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_credit_score_mcp_score__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"},{"name":"include_factors","in":"query","required":false,"schema":{"type":"boolean","description":"Include detailed score factors","default":false,"title":"Include Factors"},"description":"Include detailed score factors"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/score/{address}/history":{"get":{"tags":["mcp-live"],"summary":"Get recorded score history for an Ethereum address","description":"Scores recorded for the address over a window, newest first (1 CU). A score\n    is recorded each time it is computed; never-scored addresses have an empty\n    history.\n    \n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_score_history_mcp_score__address__history_get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"description":"Window length in days before now","default":90,"title":"Days"},"description":"Window length in days before now"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Maximum number of points","default":100,"title":"Limit"},"description":"Maximum number of points"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/summary/{address}":{"get":{"tags":["mcp-live"],"summary":"Get financial summary for an Ethereum address","description":"Comprehensive multi-chain financial summary (7 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_financial_summary_mcp_summary__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/report/{address}":{"get":{"tags":["mcp-live"],"summary":"Get comprehensive multi-chain credit report","description":"Per-chain balances, transactions, NFTs, DeFi positions and credit events (7 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_comprehensive_report_mcp_report__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/report/{address}/summary":{"get":{"tags":["mcp-live"],"summary":"Get summary credit report","description":"Aggregated metrics without per-chain breakdowns (5 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_summary_report_mcp_report__address__summary_get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/report/{address}/chain/{chain_id}":{"get":{"tags":["mcp-live"],"summary":"Get credit report for a single blockchain","description":"Detailed report scoped to one chain (3 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_chain_report_mcp_report__address__chain__chain_id__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"},{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","description":"Blockchain network ID","title":"Chain Id"},"description":"Blockchain network ID"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/report/{address}/chain/{chain_id}/summary":{"get":{"tags":["mcp-live"],"summary":"Get summary report for a single blockchain","description":"Lightweight per-chain summary (1 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_chain_summary_mcp_report__address__chain__chain_id__summary_get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"},{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","description":"Blockchain network ID","title":"Chain Id"},"description":"Blockchain network ID"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/portfolio/{address}":{"get":{"tags":["mcp-live"],"summary":"Get total portfolio value for an Ethereum address","description":"Total USD value of assets across all supported chains (4 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_portfolio_value_mcp_portfolio__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/portfolio/{address}/composition":{"get":{"tags":["mcp-live"],"summary":"Get portfolio composition by asset type","description":"Value breakdown across tokens, DeFi positions, stablecoins, collateral and debt (4 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_portfolio_composition_mcp_portfolio__address__composition_get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/portfolio/{address}/chain/{chain_id}":{"get":{"tags":["mcp-live"],"summary":"Get portfolio value on a specific blockchain","description":"USD value of assets on one chain (2 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_chain_portfolio_value_mcp_portfolio__address__chain__chain_id__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"},{"name":"chain_id","in":"path","required":true,"schema":{"type":"integer","description":"Blockchain network ID","title":"Chain Id"},"description":"Blockchain network ID"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/portfolio/{address}/history":{"get":{"tags":["mcp-live"],"summary":"Get wallet balance history (today, 30, 60, 90 days ago)","description":"Positions at four dated points: assets held directly, lending deposits, collateral backing debt, and debt, valued at each day's prices (6 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_balance_history_mcp_portfolio__address__history_get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/portfolio/{address}/cash-flow":{"get":{"tags":["mcp-live"],"summary":"Get wallet cash flow (30, 90, 365 days)","description":"External inflow/outflow/net, lending flows, conversion volume, counterparty concentration, stablecoin regularity and turnover per window (8 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_cash_flow_mcp_portfolio__address__cash_flow_get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/identity/{address}":{"get":{"tags":["mcp-live"],"summary":"Get identity attestations for an Ethereum address","description":"Verified attestations — ENS, Gitcoin Passport, POAPs and more (1 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_identity_attestations_mcp_identity__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/identity/{address}/sybil":{"get":{"tags":["mcp-live"],"summary":"Get sybil detection score","description":"Likelihood the address is a unique human vs a sybil/bot account (3 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_sybil_score_mcp_identity__address__sybil_get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/sanctions/{address}":{"get":{"tags":["mcp-live"],"summary":"Screen an address against the OFAC sanctions lists","description":"Exact match against the OFAC SDN and Consolidated lists; any OFAC-published digital-currency address or an ENS name (1 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_screen_sanctions_mcp_sanctions__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Crypto address (any OFAC-listed currency) or ENS name","title":"Address"},"description":"Crypto address (any OFAC-listed currency) or ENS name"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/sanctions/{address}/exposure":{"get":{"tags":["mcp-live"],"summary":"Screen an EVM address and everything it has transacted with","description":"Direct OFAC screening plus the funding source and every counterparty, with a risk of sanctioned / funded_by_sanctioned / exposed / none (3 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_screen_sanctions_exposure_mcp_sanctions__address__exposure_get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"},{"name":"chains","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated chain ids (default 1, at most 5)","title":"Chains"},"description":"Comma-separated chain ids (default 1, at most 5)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/graph/{address}":{"get":{"tags":["mcp-live"],"summary":"Get transaction graph for an address","description":"Token-transfer relationships as nodes and edges (3 CU; API key required).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_transaction_graph_mcp_graph__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)","title":"Address"},"description":"Ethereum address (0x...) or ENS name (e.g., vitalik.eth)"},{"name":"chain_id","in":"query","required":false,"schema":{"type":"integer","description":"Blockchain network ID (default: 1 for Ethereum)","default":1,"title":"Chain Id"},"description":"Blockchain network ID (default: 1 for Ethereum)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/agents/count":{"get":{"tags":["mcp-live"],"summary":"Get total number of registered agents","description":"Total agents in the ERC-8004 Identity Registry on Base. Free.","operationId":"http_get_agent_count_mcp_agents_count_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/mcp/agents/search":{"get":{"tags":["mcp-live"],"summary":"Search for AI agents in the ERC-8004 Identity Registry","description":"Case-insensitive substring match over agent name/description. Free.","operationId":"http_search_agents_mcp_agents_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"Search query (matches agent name or description)","title":"Q"},"description":"Search query (matches agent name or description)"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Results per page","default":20,"title":"Limit"},"description":"Results per page"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/agents":{"get":{"tags":["mcp-live"],"summary":"List registered agents","description":"Paginated list of agents from the ERC-8004 Identity Registry on Base. Free.","operationId":"http_list_agents_mcp_agents_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Results per page","default":20,"title":"Limit"},"description":"Results per page"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/agents/{agent_id}":{"get":{"tags":["mcp-live"],"summary":"Get agent info by ID","description":"Existence check and owner address for an ERC-8004 agent ID. Free.","operationId":"http_get_agent_mcp_agents__agent_id__get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"integer","minimum":1,"description":"ERC-8004 agent ID","title":"Agent Id"},"description":"ERC-8004 agent ID"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/agents/by-wallet/{address}/kya":{"get":{"tags":["mcp-live"],"summary":"Know Your Agent profile for the agent a wallet controls","description":"Resolves an owner or agentWallet to its ERC-8004 agent and returns the Know Your Agent profile and verdict (10 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_wallet_kya_mcp_agents_by_wallet__address__kya_get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","description":"Wallet address or ENS name","title":"Address"},"description":"Wallet address or ENS name"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/agents/{agent_id}/kya":{"get":{"tags":["mcp-live"],"summary":"Know Your Agent profile","description":"Identity, operator, agent wallet, OFAC screening and a pass/review/block verdict for an ERC-8004 agent (10 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_agent_kya_mcp_agents__agent_id__kya_get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"integer","minimum":1,"description":"ERC-8004 agent ID","title":"Agent Id"},"description":"ERC-8004 agent ID"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/agents/{agent_id}/reputation":{"post":{"tags":["mcp-live"],"summary":"Submit reputation feedback for an agent","description":"Compute credit score, sybil risk and identity attestations for the wallet, then submit ERC-8004 reputation feedback on-chain (10 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_submit_agent_reputation_mcp_agents__agent_id__reputation_post","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"integer","minimum":1,"description":"ERC-8004 agent ID","title":"Agent Id"},"description":"ERC-8004 agent ID"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReputationSubmitRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["mcp-live"],"summary":"Get on-chain reputation summary for an agent","description":"Aggregated feedback counts and averages from the Reputation Registry (1 CU).\n\n**Auth:** `Authorization: Bearer <api_key>`, an x402 `X-PAYMENT` proof, or an MPP `Authorization: Payment <credential>`. Without credentials the response is a 402 carrying the payment challenge.","operationId":"http_get_agent_reputation_mcp_agents__agent_id__reputation_get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"integer","minimum":1,"description":"ERC-8004 agent ID","title":"Agent Id"},"description":"ERC-8004 agent ID"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"402":{"description":"Payment required — see WWW-Authenticate / X-PAYMENT-REQUIRED"},"401":{"description":"Invalid or expired API key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/agents/{agent_id}/reputation/status/{submission_id}":{"get":{"tags":["mcp-live"],"summary":"Check status of a reputation submission","description":"Track whether an on-chain reputation submission has been confirmed. Free.","operationId":"http_get_reputation_status_mcp_agents__agent_id__reputation_status__submission_id__get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"integer","minimum":1,"description":"ERC-8004 agent ID","title":"Agent Id"},"description":"ERC-8004 agent ID"},{"name":"submission_id","in":"path","required":true,"schema":{"type":"string","description":"Submission UUID","title":"Submission Id"},"description":"Submission UUID"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp/tools":{"get":{"tags":["mcp-live"],"summary":"List available live MCP tools","description":"Returns a list of all available live MCP tools, their REST endpoints and Cred Unit cost.","operationId":"list_live_tools_mcp_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Live Tools Mcp Tools Get"}}}}}}}},"components":{"schemas":{"BatchScoresRequest":{"properties":{"addresses":{"items":{"type":"string"},"type":"array","title":"Addresses","description":"List of Ethereum addresses or ENS names"}},"type":"object","required":["addresses"],"title":"BatchScoresRequest","description":"Request model for batch scoring."},"ConsumerFileResponse":{"properties":{"address":{"type":"string","title":"Address","description":"Your wallet (lowercase)"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"partial":{"type":"boolean","title":"Partial","description":"True when the score or the lending events could not be read from the chain data providers just now; the rest of the file is complete","default":false},"score":{"anyOf":[{"$ref":"#/components/schemas/ConsumerScore"},{"type":"null"}],"description":"Your current score; null when partial"},"score_history":{"items":{"$ref":"#/components/schemas/app__schemas__consumer_file__ScoreHistoryPoint"},"type":"array","title":"Score History","description":"Every recorded score for your wallet, newest first"},"credit_events":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Credit Events","description":"The lending events behind your score (the report's `credit_events` section, including liquidations left out as obsolete); null when partial"},"inquiries":{"$ref":"#/components/schemas/InquiryListResponse"},"rights":{"$ref":"#/components/schemas/ConsumerRights"}},"type":"object","required":["address","generated_at","score_history","inquiries","rights"],"title":"ConsumerFileResponse"},"ConsumerRights":{"properties":{"summary":{"type":"string","title":"Summary"},"dispute":{"$ref":"#/components/schemas/DisputeRight"},"reinvestigation_days":{"type":"integer","title":"Reinvestigation Days","examples":[30]},"contact_email":{"type":"string","title":"Contact Email","examples":["team@credprotocol.com"]}},"type":"object","required":["summary","dispute","reinvestigation_days","contact_email"],"title":"ConsumerRights"},"ConsumerScore":{"properties":{"score":{"type":"integer","title":"Score"},"decile":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Decile"},"range":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Range"},"model_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Version"},"factors":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Factors"},"key_factors":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Key Factors"},"score_range":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Score Range"},"provisional":{"type":"boolean","title":"Provisional","default":false}},"type":"object","required":["score"],"title":"ConsumerScore"},"CredScore":{"properties":{"address":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Address","description":"Onchain address(es) being scored - single address or array of addresses"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"Time when score was generated (UTC)"},"model_version":{"type":"string","title":"Model Version","description":"Version of the scoring model used","default":"andromeda_1.5"},"score":{"type":"number","title":"Score","description":"Numerical score value"},"decile":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Decile","description":"Score decile (1-10)"},"range":{"type":"string","title":"Range","description":"Categorical rating of the score"},"factors":{"anyOf":[{"items":{"$ref":"#/components/schemas/ScoreFactor"},"type":"array"},{"type":"null"}],"title":"Factors","description":"Optional list of factors that influence the score. Only included when include_factors=true is passed."},"key_factors":{"anyOf":[{"items":{"$ref":"#/components/schemas/KeyFactor"},"type":"array"},{"type":"null"}],"title":"Key Factors","description":"Key adverse factors: up to four ranked reasons the score is not higher, most significant first, for adverse-action notices. Included only in consumer-report delivery; empty for an address with no on-chain activity."},"score_range":{"anyOf":[{"$ref":"#/components/schemas/ScoreBounds"},{"type":"null"}],"description":"The lowest and highest score the model can produce."},"credit_events_coverage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credit Events Coverage","description":"How completely the address's lending events had been read when the score was computed: `complete`, `partial`, `pending` or `failed`. For several addresses, the least complete of them."},"provisional":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Provisional","description":"True when `credit_events_coverage` is not `complete`, or when a chain's activity could not be read from its data provider. The score may not yet reflect all of the address's history; request it again shortly."},"account_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Type","description":"`eoa` for a wallet (including one with an EIP-7702 delegation) or `contract` when the address holds code on any chain it is active on (a Safe, a smart account, an agent). Omitted when no chain could be read. A contract is scored like a wallet; the score then describes the contract's own on-chain history."},"subject_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Type","description":"What kind of subject the address is: `eoa` (a wallet, including one with an EIP-7702 delegation), `smart_wallet` (an ERC-4337 account or a 1-of-1 Safe), `multisig` (a Safe with several owners), `token` (an ERC-20, ERC-721 or ERC-1155 contract), `contract` (any other code) or `unknown` (could not be read). Single-address score only."},"under_dispute":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Under Dispute","description":"True while the address owner has an open or investigating dispute about this file (FCRA §611); omitted otherwise. Single-address score only."},"delivery":{"anyOf":[{"$ref":"#/components/schemas/Delivery"},{"type":"null"}],"description":"The delivery mode of this response (`commercial`, `consumer` or `sandbox`) and the use restriction that applies. Also sent as the `X-Cred-Delivery-Mode` response header."}},"type":"object","required":["address","score","decile","range"],"title":"CredScore","description":"Pydantic model representing a credential score response.\n\nAttributes:\n    address (str | List[str]): The blockchain address(es) being scored\n    timestamp (datetime): When the score was generated (UTC)\n    model_version (str): Version of the scoring model used\n    score (float): Numerical score value\n    decile (int): Score decile (1-10)\n    range (str): Categorical rating of the score\n    factors (List[ScoreFactor] | None): Optional list of factors that influence the score","example":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","credit_events_coverage":"complete","decile":8,"model_version":"andromeda_1.5","provisional":false,"range":"good","score":726,"timestamp":"2024-03-12 14:30:00+00:00"}},"CredScoresResponse":{"properties":{"scores":{"items":{"$ref":"#/components/schemas/CredScore"},"type":"array","title":"Scores","description":"List of individual wallet credit scores"},"count":{"type":"integer","minimum":0.0,"title":"Count","description":"Total number of scores returned"}},"type":"object","required":["count"],"title":"CredScoresResponse","description":"Pydantic model representing a collection of individual credential scores.\n\nAttributes:\n    scores (List[CredScore]): List of individual wallet scores\n    count (int): Total number of scores returned","example":{"count":2,"scores":[{"address":"0x1111111111111111111111111111111111111111","decile":8,"model_version":"andromeda_1.5","range":"good","score":726,"timestamp":"2024-03-12T14:30:00+00:00"},{"address":"0x2222222222222222222222222222222222222222","decile":9,"model_version":"andromeda_1.5","range":"very_good","score":845,"timestamp":"2024-03-12T14:30:00+00:00"}]}},"Delivery":{"properties":{"mode":{"type":"string","title":"Mode","description":"`commercial`, `consumer` or `sandbox`","examples":["commercial"]},"notice":{"type":"string","title":"Notice","description":"The use restriction that applies to this delivery","examples":["Commercial and analytics delivery. Not a consumer report; not to be used to determine an individual's eligibility for credit, insurance, employment or housing."]},"subject_warning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Warning","description":"Consumer-report delivery only: present when the address is not an individual's wallet (`subject_type` `multisig`, `token` or `contract`). Such an address cannot be the subject of a consumer report; key factors are withheld and the response is commercial analytics."}},"type":"object","required":["mode","notice"],"title":"Delivery","description":"How this response is being delivered, and the notice that goes with it.\n\n``commercial`` (the default on every rail) is an analytics delivery that\nis not a consumer report; ``consumer`` is delivered only to an API key\ncertified for consumer-credit use; ``sandbox`` is mock data."},"Dispute":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"address":{"type":"string","title":"Address"},"category":{"type":"string","title":"Category"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"description":{"type":"string","title":"Description"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"due_at":{"type":"string","format":"date-time","title":"Due At","description":"Reinvestigation deadline: created_at + 30 days"},"resolved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resolved At"},"resolution_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution Note"}},"type":"object","required":["id","address","category","description","status","created_at","due_at"],"title":"Dispute"},"DisputeCreate":{"properties":{"category":{"type":"string","enum":["inaccurate_event","not_my_wallet","wrong_subject_type","other"],"title":"Category","description":"What is disputed"},"reference":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Reference","description":"The disputed item: a transaction hash or a lending event id"},"description":{"type":"string","maxLength":4000,"minLength":10,"title":"Description","description":"What is wrong, and why"},"contact_email":{"type":"string","format":"email","title":"Contact Email","description":"Where to send the confirmation and the outcome"}},"type":"object","required":["category","description","contact_email"],"title":"DisputeCreate"},"DisputeList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Dispute"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"DisputeList"},"DisputeRight":{"properties":{"method":{"type":"string","title":"Method","examples":["POST"]},"path":{"type":"string","title":"Path","examples":["/wallet/disputes"]},"description":{"type":"string","title":"Description"}},"type":"object","required":["method","path","description"],"title":"DisputeRight"},"ErrorResponse":{"properties":{"error":{"type":"string","title":"Error"},"status_code":{"type":"integer","title":"Status Code"}},"type":"object","required":["error","status_code"],"title":"ErrorResponse","description":"Error response model."},"FundingSource":{"properties":{"address":{"type":"string","title":"Address","description":"The funding address (lowercased)"},"chain_id":{"type":"integer","title":"Chain Id","description":"Chain of the funding transaction"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp","description":"When the funding transaction happened"},"transaction_hash":{"type":"string","title":"Transaction Hash","description":"The funding transaction"},"certain":{"type":"boolean","title":"Certain","description":"False when the chain's oldest rows could not all be read, so an earlier funding transaction may exist"},"sanctioned":{"type":"boolean","title":"Sanctioned","description":"True if the funding address is on a sanctions list"},"matches":{"items":{"$ref":"#/components/schemas/SanctionsMatch"},"type":"array","title":"Matches","description":"The list entries the funding address matches"}},"type":"object","required":["address","chain_id","transaction_hash","certain","sanctioned","matches"],"title":"FundingSource","description":"The address that first sent value to the screened address."},"GraphEdge":{"properties":{"from":{"type":"string","title":"From","description":"Source node ID"},"to":{"type":"string","title":"To","description":"Target node ID"},"label":{"type":"string","title":"Label","description":"Edge label: 'SENT' or 'RECEIVED'"}},"type":"object","required":["from","to","label"],"title":"GraphEdge"},"GraphNode":{"properties":{"id":{"type":"string","title":"Id","description":"Unique identifier for the node (address or token symbol)"},"label":{"type":"string","title":"Label","description":"Display label for the node"},"group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group","description":"Node type: 'wallet' or 'token'"},"sanctioned":{"type":"boolean","title":"Sanctioned","description":"True when this wallet is on an OFAC sanctions list (SDN or Consolidated). Always false for token nodes.","default":false},"sanctions":{"items":{"$ref":"#/components/schemas/SanctionsMatch"},"type":"array","title":"Sanctions","description":"The OFAC list entries the wallet matched; empty unless sanctioned"}},"type":"object","required":["id","label"],"title":"GraphNode"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InquiryItem":{"properties":{"requested_at":{"type":"string","format":"date-time","title":"Requested At","description":"When the data was delivered (UTC)"},"endpoint":{"type":"string","title":"Endpoint","examples":["/score/address/{address}"]},"requester":{"$ref":"#/components/schemas/InquiryRequester"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose","description":"The purpose the customer declared for their API key, if any"},"delivery_mode":{"type":"string","title":"Delivery Mode","examples":["commercial"]},"request_purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Purpose","description":"Consumer-report deliveries only: the permissible purpose the requester stated (credit_transaction, account_review, collection, legitimate_business_need)","examples":["credit_transaction"]},"end_user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End User","description":"Consumer-report deliveries only: the lender the requester acted for, if named","examples":["Acme Lending LLC"]}},"type":"object","required":["requested_at","endpoint","requester","delivery_mode"],"title":"InquiryItem"},"InquiryListResponse":{"properties":{"address":{"type":"string","title":"Address","description":"Your wallet (lowercase)"},"months":{"type":"integer","title":"Months","description":"Disclosure window in months","examples":[24]},"count":{"type":"integer","title":"Count","description":"Inquiries about you in the whole window"},"inquiries":{"items":{"$ref":"#/components/schemas/InquiryItem"},"type":"array","title":"Inquiries","description":"This page, newest first"},"next_before":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Before","description":"Pass as `before` to read the next (older) page; null on the last page"}},"type":"object","required":["address","months","count","inquiries"],"title":"InquiryListResponse"},"InquiryRequester":{"properties":{"kind":{"type":"string","enum":["customer","payer_wallet","snap_wallet","self"],"title":"Kind","description":"`customer`: a Cred Protocol API customer (labelled by their email domain); `payer_wallet`: an anonymous pay-per-call caller (x402 payer address or MPP); `snap_wallet`: a MetaMask Snap user who looked the address up; `self`: you, signed in with this wallet"},"label":{"type":"string","title":"Label","examples":["acme.com","You"]}},"type":"object","required":["kind","label"],"title":"InquiryRequester","description":"Who received a score or report about the address, as shown to its owner."},"KeyFactor":{"properties":{"code":{"type":"string","title":"Code","description":"Reason code (R01-R11)","examples":["R01","R02"]},"label":{"type":"string","title":"Label","description":"Short name of the reason","examples":["Limited or no borrowing history","Liquidations on lending positions"]},"description":{"type":"string","title":"Description","description":"Consumer-readable sentence explaining the reason","examples":["The address has little or no record of borrowing and repaying on lending protocols."]}},"type":"object","required":["code","label","description"],"title":"KeyFactor","description":"One key adverse factor: a ranked reason the score is not higher, as an\nadverse-action notice cites them. Codes, labels and descriptions only —\nno values, weights or contributions."},"ReputationSubmitRequest":{"properties":{"address":{"type":"string","title":"Address","description":"Wallet address to assess (0x... or ENS)"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","description":"Optional feedback tags"}},"type":"object","required":["address"],"title":"ReputationSubmitRequest","description":"Request model for reputation submission."},"SanctionedCounterparty":{"properties":{"address":{"type":"string","title":"Address","description":"The sanctioned counterparty (lowercased)"},"chains":{"items":{"type":"integer"},"type":"array","title":"Chains","description":"Chain ids on which the two addresses transacted"},"direction":{"type":"string","title":"Direction","description":"Money flow relative to the screened address: 'in', 'out' or 'both'"},"transaction_count":{"type":"integer","title":"Transaction Count","description":"Distinct transactions between the two"},"first_seen":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Seen","description":"Earliest transaction between the two"},"last_seen":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen","description":"Latest transaction between the two"},"recent":{"type":"boolean","title":"Recent","description":"True when the latest transaction is within the last 90 days"},"matches":{"items":{"$ref":"#/components/schemas/SanctionsMatch"},"type":"array","title":"Matches","description":"The list entries the counterparty matches"}},"type":"object","required":["address","chains","direction","transaction_count","recent","matches"],"title":"SanctionedCounterparty","description":"A counterparty of the screened address that is on a sanctions list."},"SanctionsExposure":{"properties":{"counterparties_checked":{"type":"integer","title":"Counterparties Checked","description":"Distinct counterparties screened"},"sanctioned_counterparties":{"items":{"$ref":"#/components/schemas/SanctionedCounterparty"},"type":"array","title":"Sanctioned Counterparties","description":"Counterparties on a sanctions list, most recently seen first"},"recent":{"type":"boolean","title":"Recent","description":"True when any sanctioned counterparty was seen in the last 90 days"}},"type":"object","required":["counterparties_checked","sanctioned_counterparties","recent"],"title":"SanctionsExposure"},"SanctionsExposureResponse":{"properties":{"address":{"type":"string","title":"Address","description":"The screened address (lowercased)"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"When the exposure was computed (UTC)"},"chains_checked":{"items":{"type":"integer"},"type":"array","title":"Chains Checked","description":"Chain ids whose activity was read"},"unavailable_chains":{"items":{"type":"integer"},"type":"array","title":"Unavailable Chains","description":"Chains whose activity could not be read from the data provider"},"coverage":{"type":"string","title":"Coverage","description":"'complete' when every chain's full history was read; 'partial' when a chain was unavailable or has more rows than one query returns; 'unavailable' when no chain answered (the direct screening result still stands)"},"lists_checked":{"items":{"type":"string"},"type":"array","title":"Lists Checked","description":"Sanctions lists checked"},"sanctioned":{"type":"boolean","title":"Sanctioned","description":"True if the address itself is on a sanctions list"},"matches":{"items":{"$ref":"#/components/schemas/SanctionsMatch"},"type":"array","title":"Matches","description":"Direct list entries for the address"},"funding_source":{"anyOf":[{"$ref":"#/components/schemas/FundingSource"},{"type":"null"}],"description":"The address that first funded the wallet, screened; null if never funded"},"exposure":{"$ref":"#/components/schemas/SanctionsExposure"},"risk":{"type":"string","title":"Risk","description":"'sanctioned' (the address is listed), 'funded_by_sanctioned' (its first funds came from a listed address), 'exposed' (it has transacted with a listed address) or 'none'"}},"type":"object","required":["address","timestamp","chains_checked","unavailable_chains","coverage","lists_checked","sanctioned","matches","exposure","risk"],"title":"SanctionsExposureResponse","description":"Direct screening plus one hop of exposure for an EVM address.","example":{"address":"0xab5801a7d398351b8be11c439e05c5b3259aec9b","chains_checked":[1],"coverage":"complete","exposure":{"counterparties_checked":412,"recent":false,"sanctioned_counterparties":[{"address":"0x8589427373d6d84e98730d7795d8f6f8731fda16","chains":[1],"direction":"both","first_seen":"2022-03-14T09:22:51+00:00","last_seen":"2022-06-01T18:40:12+00:00","matches":[{"entity_name":"TORNADO CASH","source":"ofac_sdn"}],"recent":false,"transaction_count":3}]},"funding_source":{"address":"0x8589427373d6d84e98730d7795d8f6f8731fda16","certain":true,"chain_id":1,"matches":[{"address":"0x8589427373D6D84E98730D7795D8f6f8731FDA16","currency_name":"Ethereum","entity_name":"TORNADO CASH","entity_type":"Entity","listed_at":"2026-08-21T06:24:24+00:00","programs":"CYBER2","source":"ofac_sdn","source_url":"https://sanctionssearch.ofac.treas.gov/Details.aspx?id=39796","symbol":"ETH"}],"sanctioned":true,"timestamp":"2022-03-14T09:22:51+00:00","transaction_hash":"0x4c2e..."},"lists_checked":["ofac_sdn","ofac_consolidated"],"matches":[],"risk":"funded_by_sanctioned","sanctioned":false,"timestamp":"2026-11-02T10:04:11+00:00","unavailable_chains":[]}},"SanctionsMatch":{"properties":{"source":{"type":"string","title":"Source","description":"List the match came from: 'ofac_sdn' (SDN list) or 'ofac_consolidated' (OFAC Consolidated non-SDN list)"},"entity_name":{"type":"string","title":"Entity Name","description":"Name of the sanctioned party (SDN name)"},"entity_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Type","description":"Kind of sanctioned party, e.g. 'Individual' or 'Entity'"},"programs":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Programs","description":"Comma-separated OFAC sanctions programs, e.g. 'CYBER2, DPRK3'"},"symbol":{"type":"string","title":"Symbol","description":"OFAC currency symbol, e.g. 'ETH', 'XBT', 'TRX'"},"currency_name":{"type":"string","title":"Currency Name","description":"Human-readable currency name, e.g. 'Ethereum'"},"address":{"type":"string","title":"Address","description":"The sanctioned address exactly as published by OFAC"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url","description":"Deep link to the OFAC sanctions search entry for this party"},"listed_at":{"type":"string","format":"date-time","title":"Listed At","description":"When this address was first ingested from the list"}},"type":"object","required":["source","entity_name","symbol","currency_name","address","listed_at"],"title":"SanctionsMatch","description":"One sanctioned-address match from an OFAC list."},"SanctionsScreenResponse":{"properties":{"address":{"type":"string","title":"Address","description":"The address that was screened, as provided"},"sanctioned":{"type":"boolean","title":"Sanctioned","description":"True if the address appears on any OFAC sanctions list"},"lists_checked":{"items":{"type":"string"},"type":"array","title":"Lists Checked","description":"Sanctions lists the address was checked against"},"matches":{"items":{"$ref":"#/components/schemas/SanctionsMatch"},"type":"array","title":"Matches","description":"All active list entries matching the address (empty if clean)"}},"type":"object","required":["address","sanctioned","lists_checked","matches"],"title":"SanctionsScreenResponse","description":"Screening result for one crypto address.","example":{"address":"0x21B8d56BDA776bbE68655A16895afd96F5534feD","lists_checked":["ofac_sdn","ofac_consolidated"],"matches":[{"address":"0x21B8d56BDA776bbE68655A16895afd96F5534feD","currency_name":"Ethereum","entity_name":"GAZA NOW","entity_type":"Entity","listed_at":"2026-08-21T06:24:24+00:00","programs":"SDGT","source":"ofac_sdn","source_url":"https://sanctionssearch.ofac.treas.gov/Details.aspx?id=47635","symbol":"ETH"}],"sanctioned":true}},"ScoreBounds":{"properties":{"min":{"type":"integer","title":"Min","description":"Lowest possible score","examples":[300]},"max":{"type":"integer","title":"Max","description":"Highest possible score","examples":[1000]}},"type":"object","required":["min","max"],"title":"ScoreBounds","description":"The range a score can take."},"ScoreFactor":{"properties":{"label":{"type":"string","title":"Label","description":"The category name of this factor","examples":["Borrowing History","Wallet Composition","Wallet Health"]},"rating":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rating","description":"The rating for this factor (low, fair, good, very_good, excellent) or None if insufficient data","examples":["excellent","very_good","good","fair","low",null]},"description":{"type":"string","title":"Description","description":"Human-readable explanation of this factor and how it impacts the score","examples":["You have an excellent breakdown of tokens in your account, this factor has a high impact on your score."]}},"type":"object","required":["label","description"],"title":"ScoreFactor","description":"Model representing a score factor that influences the credit score.\n\nFactors provide insights into what affects the score and how to improve it.","example":{"description":"You have an excellent breakdown of tokens in your account, this factor has a high impact on your score.","label":"Wallet Composition","rating":"excellent"}},"ScoreHistoryResponse":{"properties":{"address":{"type":"string","title":"Address","description":"The address whose history this is"},"days":{"type":"integer","title":"Days","description":"Length of the window, in days before now"},"count":{"type":"integer","minimum":0.0,"title":"Count","description":"Number of points returned"},"points":{"items":{"$ref":"#/components/schemas/app__schemas__score__ScoreHistoryPoint"},"type":"array","title":"Points","description":"Recorded scores in the window, newest first"}},"type":"object","required":["address","days","count"],"title":"ScoreHistoryResponse","description":"Recorded scores for one address over a window, newest first.","example":{"address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","count":2,"days":90,"points":[{"decile":8,"model_version":"andromeda_1.5","range":"good","score":741,"timestamp":"2026-10-30T09:12:44+00:00"},{"decile":8,"model_version":"andromeda_1.5","range":"good","score":726,"timestamp":"2026-10-02T17:40:03+00:00"}]}},"SignatureMessageResponse":{"properties":{"message":{"type":"string","title":"Message","description":"The message that should be signed by the user's wallet","examples":["Proof of wallet ownership for 0x742d35Cc6634C0532925a3b844Bc454e4438f44e\nIssued: 2025-11-27T12:34:56Z\nNonce: 9f1c2b3a4d5e6f70\nAuth: 3b0c44298fc1c149afbf4c8996fb9242\nI am signing this message to verify that I own this wallet."]}},"type":"object","required":["message"],"title":"SignatureMessageResponse","description":"Response containing the message to be signed by the wallet."},"SnapAllowanceResponse":{"properties":{"address":{"type":"string","title":"Address","description":"The wallet the token was issued to (lowercase)"},"scope":{"type":"string","title":"Scope","description":"Always `snap`","default":"snap"},"monthly_limit":{"type":"integer","title":"Monthly Limit","description":"Free Cred Units per calendar month (UTC)"},"used":{"type":"integer","title":"Used","description":"Cred Units spent on other addresses this month"},"remaining":{"type":"integer","title":"Remaining","description":"Cred Units left this month"},"period_end":{"type":"string","format":"date-time","title":"Period End","description":"When the allowance resets"}},"type":"object","required":["address","monthly_limit","used","remaining","period_end"],"title":"SnapAllowanceResponse","description":"A Snap wallet's free monthly allowance for looking up other addresses."},"TransactionGraphResponse":{"properties":{"nodes":{"items":{"$ref":"#/components/schemas/GraphNode"},"type":"array","title":"Nodes","description":"List of graph nodes (wallets and tokens)"},"edges":{"items":{"$ref":"#/components/schemas/GraphEdge"},"type":"array","title":"Edges","description":"List of graph edges (transactions)"},"sanctioned_wallets":{"type":"integer","title":"Sanctioned Wallets","description":"How many wallet nodes are on an OFAC sanctions list","default":0},"total_transactions":{"type":"integer","title":"Total Transactions","description":"Total number of transactions processed"},"chain_id":{"type":"integer","title":"Chain Id","description":"Blockchain network ID"},"chain_name":{"type":"string","title":"Chain Name","description":"Blockchain network name"},"address":{"type":"string","title":"Address","description":"Wallet address queried"}},"type":"object","required":["nodes","edges","total_transactions","chain_id","chain_name","address"],"title":"TransactionGraphResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WalletVerifyRequest":{"properties":{"address":{"type":"string","title":"Address","description":"The Ethereum wallet address","examples":["0x742d35Cc6634C0532925a3b844Bc454e4438f44e"]},"message":{"type":"string","title":"Message","description":"The message that was signed (from /wallet/message endpoint)","examples":["Proof of wallet ownership for 0x742d35Cc6634C0532925a3b844Bc454e4438f44e\nIssued: 2025-11-27T12:34:56Z\nNonce: 9f1c2b3a4d5e6f70\nAuth: 3b0c44298fc1c149afbf4c8996fb9242\nI am signing this message to verify that I own this wallet."]},"signature":{"type":"string","title":"Signature","description":"The signature produced by signing the message with the wallet","examples":["0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12"]},"scope":{"type":"string","enum":["dapp","snap"],"title":"Scope","description":"Token scope. `dapp` (default) only reads the signing wallet's own data. `snap` — the MetaMask Snap — additionally screens and scores other addresses against a free monthly allowance.","default":"dapp"}},"type":"object","required":["address","message","signature"],"title":"WalletVerifyRequest","description":"Request body for verifying a wallet signature."},"WalletVerifyResponse":{"properties":{"token":{"type":"string","title":"Token","description":"JWT access token for authenticated requests"},"expiry":{"type":"string","format":"date-time","title":"Expiry","description":"Token expiration timestamp"},"address":{"type":"string","title":"Address","description":"The verified wallet address"},"scope":{"type":"string","title":"Scope","description":"Token scope: `dapp` or `snap`","default":"dapp"}},"type":"object","required":["token","expiry","address"],"title":"WalletVerifyResponse","description":"Response containing the JWT token after successful verification."},"app__schemas__consumer_file__ScoreHistoryPoint":{"properties":{"timestamp":{"type":"string","title":"Timestamp"},"score":{"type":"integer","title":"Score"},"decile":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Decile"},"range":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Range"},"model_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Version"}},"type":"object","required":["timestamp","score"],"title":"ScoreHistoryPoint"},"app__schemas__score__ScoreHistoryPoint":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"When this score was computed (UTC)"},"score":{"type":"integer","title":"Score","description":"Score value (300-1000)"},"decile":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Decile","description":"Score decile (1-10)"},"range":{"type":"string","title":"Range","description":"Categorical rating of the score"},"model_version":{"type":"string","title":"Model Version","description":"Version of the scoring model used"}},"type":"object","required":["timestamp","score","decile","range","model_version"],"title":"ScoreHistoryPoint","description":"One recorded score for an address."}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer","bearerFormat":"API Token","description":"Enter your API token (created in /dashboard/console). Use the token as a Bearer token in the Authorization header."}}},"tags":[{"name":"authentication","description":"\nUser authentication and profile management. \n\nEndpoints for verifying bearer tokens and retrieving authenticated user information. \nAll API endpoints require valid authentication tokens obtained from the Cred Protocol \nauthentication service.\n        ","externalDocs":{"description":"Authentication Guide","url":"https://credprotocol.com/docs/authentication"}},{"name":"report","description":"\nComprehensive on-chain credit reports and financial profiles.\n\nGenerate detailed credit reports aggregating blockchain data across multiple networks including \nEthereum, Base, Polygon, Celo, Arbitrum, Optimism, Binance Smart Chain, Avalanche, Linea, and Robinhood Chain. Reports include asset holdings, \ntransaction history, DeFi positions, lending activity, and identity attestations.\n\n**Key Features**:\n- Multi-chain aggregation\n- Real-time on-chain data\n- DeFi protocol integration\n- Historical transaction analysis\n- Portfolio valuation in USD\n- Identity verification\n\n**Report Types**:\n- Full reports with detailed chain breakdowns\n- Summary reports for quick assessments\n- Single-chain focused reports\n- Total portfolio value calculations\n        ","externalDocs":{"description":"Report API Documentation","url":"https://credprotocol.com/docs/reports"}},{"name":"score","description":"\nOn-chain credit scoring using the Andromeda 1.3 model.\n\nGenerate credit scores (300-1000 scale) based on blockchain activity, similar to traditional \ncredit scoring but for decentralized finance. Scores emphasize borrowing and repayment history \nas the primary factor for creditworthiness.\n\n**Scoring Factors**:\n- Borrowing and repayment history (most important)\n- Wallet asset composition\n- Transaction patterns and frequency  \n- DeFi protocol interactions\n- Liquidation and default history\n- Identity attestations and verification\n\n**Score Ranges**:\n- 920-1000: Excellent\n- 840-919: Very Good\n- 750-839: Good\n- 640-749: Fair\n- 300-639: Low\n\n**Models Available**:\n- Standard scoring (on-chain only)\n- Boosted scoring (with off-chain assets, up to 15% boost)\n        ","externalDocs":{"description":"Scoring Methodology","url":"https://credprotocol.com/docs/scoring"}},{"name":"identity","description":"\nIdentity attestations and verification across blockchain networks.\n\nRetrieve verified identity proofs including ENS names, Gitcoin Passport scores, POAPs, \nand on-chain credentials. Aggregates attestations from multiple sources to establish \ntrust and verify authenticity.\n\n**Supported Attestations**:\n- ENS (Ethereum Name Service)\n- Basenames (Base network names)\n- Gitcoin Passport (humanity verification)\n- POAPs (Proof of Attendance Protocol)\n- Verifiable credentials (on-chain NFTs)\n- Sybil resistance tokens\n\n**Data Sources**:\n- Gitcoin Passport API\n- Various NFT analytics providers (multi-chain)\n- ENS Registry\n- Custom identity token contracts\n        ","externalDocs":{"description":"Identity Verification Guide","url":"https://credprotocol.com/docs/identity"}},{"name":"sandbox","description":"\nSandbox API endpoints for testing and development.\n\n**⚠️ These endpoints return mock data and do not make real blockchain queries.**\n\nThe sandbox provides realistic-looking mock data for all score, report, and summary endpoints, \nallowing developers to test their integrations without consuming API quotas or waiting for \nslow blockchain data fetches.\n\n**Key Features**:\n- No authentication required\n- Instant responses (no blockchain queries)\n- Deterministic data (same address = same results)\n- Realistic data structures matching production endpoints\n- Perfect for frontend development and integration testing\n\n**Use Cases**:\n- Integration testing\n- Frontend development\n- Demo applications\n- API exploration\n- Rate limit preservation\n\n**Endpoints Available**:\n- Credit scores (GET and POST)\n- Comprehensive reports\n- Summary reports\n- Single-chain reports\n- Portfolio valuations\n\nAll sandbox endpoints are prefixed with `/sandbox/` and match the signature of their \nproduction counterparts exactly.\n        ","externalDocs":{"description":"Sandbox API Guide","url":"https://credprotocol.com/docs/sandbox"}},{"name":"markets","description":"DeFi yield data and lending protocol analytics."}]}