{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "portfolio-scanner-production-up-railway-app-entrypoints-portfolio-scanner-invoke",
  "title": "Portfolio Scanner \u00b7 LP & Yield Position Discovery",
  "url": "https://portfolio-scanner-production.up.railway.app/entrypoints/portfolio-scanner/invoke",
  "category": "finance",
  "summary": "Scan wallet addresses to discover LP positions and yield-bearing deposits across DeFi protocols.",
  "seo": {
    "title": "DeFi Portfolio Scanner API | LP & Yield Positions | x402",
    "description": "Scan any wallet for liquidity pool positions and yield deposits across multiple chains and protocols. Returns protocol, pool address, token amounts, and chain ID."
  },
  "use_cases": [
    "Audit portfolio exposure across chains",
    "Track yield farming positions",
    "Monitor liquidity pool balances"
  ],
  "ideal_buyer": "DeFi analytics tools and treasury management agents needing automated position discovery.",
  "example_prompt": "Scan wallet 0x... for all LP positions and yield deposits across Base and Ethereum.",
  "example_request_body": {
    "chains": [
      "base",
      "ethereum"
    ],
    "wallet": "0x1234..."
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "expensive",
    "ratio": 3.333,
    "median_category_atomic": 30000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x01d11f7e1a46abfc6092d7be484895d2d505095c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "100000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Scan wallet for LP positions and yield deposits across chains",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "bodyFields": {
            "input": {
              "type": "object",
              "required": [
                "wallet_address",
                "chain_ids"
              ],
              "properties": {
                "chain_ids": {
                  "type": "array",
                  "items": {
                    "type": "number"
                  },
                  "description": "Chain IDs to scan (1, 42161, 8453)"
                },
                "lp_entry_date": {
                  "type": "string",
                  "description": "ISO date when LP positions were opened (for IL calculation)"
                },
                "wallet_address": {
                  "type": "string",
                  "description": "Wallet address to scan"
                }
              }
            }
          }
        },
        "output": {
          "output": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "lp_positions",
              "yield_deposits",
              "total_portfolio_value_usd",
              "timestamp"
            ],
            "properties": {
              "timestamp": {
                "type": "string"
              },
              "lp_positions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "protocol",
                    "pool_address",
                    "token0_symbol",
                    "token1_symbol",
                    "token0_address",
                    "token1_address",
                    "token0_amount",
                    "token1_amount",
                    "token0_price_usd",
                    "token1_price_usd",
                    "total_value_usd",
                    "chain_id"
                  ],
                  "properties": {
                    "chain_id": {
                      "type": "number"
                    },
                    "protocol": {
                      "type": "string"
                    },
                    "pool_address": {
                      "type": "string"
                    },
                    "token0_amount": {
                      "type": "number"
                    },
                    "token0_symbol": {
                      "type": "string"
                    },
                    "token1_amount": {
                      "type": "number"
                    },
                    "token1_symbol": {
                      "type": "string"
                    },
                    "token0_address": {
                      "type": "string"
                    },
                    "token1_address": {
                      "type": "string"
                    },
                    "total_value_usd": {
                      "type": "number"
                    },
                    "token0_price_usd": {
                      "type": "number"
                    },
                    "token1_price_usd": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "yield_deposits": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "protocol",
                    "vault_address",
                    "asset_symbol",
                    "asset_address",
                    "deposited_amount",
                    "current_value_usd",
                    "apy",
                    "chain_id"
                  ],
                  "properties": {
                    "apy": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "chain_id": {
                      "type": "number"
                    },
                    "protocol": {
                      "type": "string"
                    },
                    "asset_symbol": {
                      "type": "string"
                    },
                    "asset_address": {
                      "type": "string"
                    },
                    "vault_address": {
                      "type": "string"
                    },
                    "deposited_amount": {
                      "type": "number"
                    },
                    "current_value_usd": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "total_portfolio_value_usd": {
                "type": "number"
              }
            },
            "additionalProperties": false
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "portfolio-scanner-production-up-railway-app",
    "host": "portfolio-scanner-production.up.railway.app",
    "title": "Portfolio Scanner API",
    "description": "An x402-payable API origin hosted on Railway. No public homepage content is currently available; the service may be under deployment or require direct endpoint access.",
    "url": "https://portfolio-scanner-production.up.railway.app"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/portfolio-scanner-production-up-railway-app-entrypoints-portfolio-scanner-invoke",
    "url": "https://x402all.com/resource/portfolio-scanner-production-up-railway-app-entrypoints-portfolio-scanner-invoke",
    "name": "Portfolio Scanner \u00b7 LP & Yield Position Discovery",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/portfolio-scanner-production-up-railway-app-entrypoints-portfolio-scanner-invoke",
      "@type": "Offer",
      "price": "0.1",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.100000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://portfolio-scanner-production.up.railway.app/entrypoints/portfolio-scanner/invoke",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/portfolio-scanner-production-up-railway-app",
      "url": "https://portfolio-scanner-production.up.railway.app",
      "name": "Portfolio Scanner API",
      "@type": "Organization"
    },
    "identifier": "portfolio-scanner-production-up-railway-app-entrypoints-portfolio-scanner-invoke",
    "description": "Scan any wallet for liquidity pool positions and yield deposits across multiple chains and protocols. Returns protocol, pool address, token amounts, and chain ID.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=portfolio-scanner-production-up-railway-app-entrypoints-portfolio-scanner-invoke",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "finance"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=portfolio-scanner-production-up-railway-app-entrypoints-portfolio-scanner-invoke"
}
