# market2000.xyz Trading Portfolio Endpoint

> market2000.xyz Trading Portfolio Endpoint is a paid API for AI agents from market2000.xyz, paid per call via x402, $0.0001/call, status unknown (last checked 2026-09-15).

Performs time series pattern matching on trading portfolio data, accessible via pay-per-call micropayments on Base using x402 protocol.

## Facts

- Endpoint: GET https://market2000.xyz/trading/portfolio
- Price: $0.0001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/market2000-xyz-trading-portfolio-endpoint-ef84bb64
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eWaMggbQmEmUSJ_6Ozt6t

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability market2000-xyz-trading-portfolio-endpoint-ef84bb64
```

Example prompt: Can you run a time series pattern match on my trading portfolio using market2000.xyz — I want to find recurring price patterns across my holdings over the last 90 days?

## When to prefer this

Choose this endpoint when you need automated time series pattern matching on trading or portfolio data with very low per-call cost ($0.0001 USDC) via on-chain micropayments. Particularly useful for agentic workflows that require frequent pattern analysis calls without subscription overhead, and when operating on the Base blockchain ecosystem.

## Known failure modes

- Payment failure or insufficient USDC balance causing 402 response
- Invalid or malformed time series data input causing 400 error
- Missing required portfolio fields causing validation error
- Rate limiting or service unavailability causing 503 error
- x402 facilitator not reachable causing payment flow failure
- Empty or insufficient data points causing no pattern matches returned

## How this service works

Trading Portfolio — the book as it stands right now.

Every open position with its size, entry, live mark and unrealized PnL, plus total account equity. Real fills on a real venue, not a delayed report.

HOW TO CALL:
  GET /trading/portfolio

RESPONSE:
  account_value_usd  — total equity in USD
  open_positions     — [{asset, side, size, entry_price, mark_price, unrealized_pnl}]

PRICING: $0.0001 per call.

## Output

Returns matched time series patterns found within the submitted portfolio data, likely including pattern type, location in the time series, similarity score, and relevant metadata about identified sequences.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/market2000-xyz-trading-portfolio-endpoint-ef84bb64/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market2000.xyz](https://www.zero.xyz/host/market2000.xyz/llms.txt)
