Api Endpoint

LoneStarOracle

Wallet realized and unrealized PnL — per-token profit and loss and cost basis for any EVM address

Open interactive test console

Offering

Provider
pnl.lonestaroracle.xyz
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://pnl.lonestaroracle.xyz/pnl
MIME type
application/json
First seen
2026-10-16T01:50:04.338Z
Last seen
Tags
Wallet, pnl, profit, Portfolio, EVM, X402, financial-data, real-economy, lonestaroracle, Macro, equities, Crypto, compliance, Risk, Data

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.2 USDC
Atomic price: 200000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.2 USDC
Atomic price: 200000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
200000 atomic units
Atomic price: 200000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "200000",
    "payTo": "0x52Ab53912D37759B2ad364f22dD06B16714b6C06"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "200000",
    "payTo": "3nmeVj5m9Uq2hSTfsVsn3tJMHRJQNMKR1AjzyUJbrSgw"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "200000",
    "payTo": "0xeF2a4B6756895aAf1374640dcFCD4947959442ab"
  }
]

Observed health

Status
Healthy
Latest latency
34 ms
Average latency
40 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "required": [
    "type",
    "method"
  ],
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "wallet": {
          "type": "string",
          "description": "Base wallet address (0x...)",
          "title": "Wallet"
        },
        "address": {
          "type": "string",
          "description": "Alias for wallet",
          "title": "Address"
        },
        "days": {
          "type": "integer",
          "maximum": 365,
          "minimum": 1,
          "description": "Lookback period in days",
          "default": 30,
          "title": "Days"
        },
        "chain": {
          "type": "string",
          "description": "base | ethereum | arbitrum | optimism (default: auto, whichever of base/ethereum has more activity)",
          "title": "Chain"
        }
      }
    }
  }
}

Output 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"
}