{
  "x402Version": 2,
  "id": 31268,
  "slug": "31268",
  "resource": "https://pnl.lonestaroracle.xyz/pnl",
  "description": "Wallet realized and unrealized PnL — per-token profit and loss and cost basis for any EVM address",
  "type": "http",
  "serviceName": "WalletPnL",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x52Ab53912D37759B2ad364f22dD06B16714b6C06",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "200000",
      "amountUsd": 0.2,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "3nmeVj5m9Uq2hSTfsVsn3tJMHRJQNMKR1AjzyUJbrSgw",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "200000",
      "amountUsd": 0.2,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {},
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
            "days": 30,
            "wallet": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
          },
          "type": "http"
        },
        "output": {
          "format": "json",
          "type": "object"
        }
      },
      "schema": {
        "category": "data",
        "properties": {
          "input": {
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "address": {
                    "description": "Alias for wallet",
                    "title": "Address",
                    "type": "string"
                  },
                  "days": {
                    "default": 30,
                    "description": "Lookback period in days",
                    "maximum": 365,
                    "minimum": 1,
                    "title": "Days",
                    "type": "integer"
                  },
                  "wallet": {
                    "description": "Base wallet address (0x...)",
                    "title": "Wallet",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {},
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "tags": [
          "wallet",
          "pnl",
          "profit",
          "portfolio",
          "evm"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "wallet",
    "pnl",
    "profit",
    "portfolio",
    "evm",
    "bazaar"
  ],
  "sourceHost": "pnl.lonestaroracle.xyz",
  "lastUpdated": "2026-10-01T11:00:47.646Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-01T11:00:47.416Z"
  },
  "metadata": {
    "serviceName": "WalletPnL",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "days": 30,
              "wallet": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
            },
            "type": "http"
          },
          "output": {
            "format": "json",
            "type": "object"
          }
        },
        "schema": {
          "category": "data",
          "properties": {
            "input": {
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "address": {
                      "description": "Alias for wallet",
                      "title": "Address",
                      "type": "string"
                    },
                    "days": {
                      "default": 30,
                      "description": "Lookback period in days",
                      "maximum": 365,
                      "minimum": 1,
                      "title": "Days",
                      "type": "integer"
                    },
                    "wallet": {
                      "description": "Base wallet address (0x...)",
                      "title": "Wallet",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {},
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "tags": [
            "wallet",
            "pnl",
            "profit",
            "portfolio",
            "evm"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "pnl.lonestaroracle.xyz",
    "manifest_name": "pnl.lonestaroracle.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": null,
    "type": "string"
  }
}