# sol-curve

> sol-curve is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Returns bonding-curve graduation status for a Solana token mint, including progress percent, SOL raised, SOL remaining, completion flag, marginal price, market cap, and graduation destination (PumpSwap).

## Facts

- Endpoint: GET https://payai.agentstools.dev/sol/curve
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sol-curve-c338f331
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nDD8Hg3EbWe-aGvdR7ZzU

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 sol-curve-c338f331
```

Example prompt: Check the bonding curve graduation status for the pump.fun token with mint address 6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN — how much SOL has been raised, what percentage is complete, and how far is it from graduating to PumpSwap?

## When to prefer this

Use this endpoint when you need fast, cheap, deterministic bonding curve state for a pump.fun Solana token — especially for high-frequency polling loops monitoring graduation progress. Prefer this over general token info endpoints when the specific graduation status, SOL raised, and marginal curve price are the primary outputs needed.

## Known failure modes

- Invalid or malformed mint address returns a validation error
- Mint address not associated with any bonding curve account returns a not-found error
- Token already graduated may return complete=true with zero SOL remaining
- Unsupported launchpad value returns an enum validation error
- Network or RPC issues may cause transient 5xx errors

## How this service works

Solana bonding-curve graduation status from the on-chain curve account: graduation progress percent, SOL raised in the curve, SOL remaining to graduation, complete flag, the marginal curve price + market cap, and the graduation destination (PumpSwap). Cheap, deterministic, keyless — built for high-frequency polling.

## Output

Returns a JSON object with graduation progress percent, total SOL raised in the curve, SOL remaining until graduation, a boolean complete flag indicating if the curve has graduated, the current marginal curve price, token market cap, and the graduation destination platform (PumpSwap).

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "mint"
     ],
     "properties": {
      "mint": {
       "type": "string",
       "maxLength": 44,
       "minLength": 32,
       "description": "Base58 Solana SPL token mint address (e.g. a pump.fun mint ending in 'pump'). The only required input; all upstream hosts are fixed server-side."
      },
      "launchpad": {
       "enum": [
        "pumpfun"
       ],
       "type": "string",
       "description": "Launchpad whose bonding-curve layout to decode (default pumpfun; new launchpads are added as data)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sol-curve-c338f331/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
