# sol-curve

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

Returns Solana bonding-curve graduation status for a pump.fun token mint: progress %, SOL raised, SOL remaining, completion flag, marginal price, market cap, and graduation destination.

## Facts

- Endpoint: GET https://api.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-5ca63f8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3OLfJGWS9btqe-2nqfh5Y

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-5ca63f8c
```

Example prompt: What's the current bonding curve graduation status for the pump.fun token with mint address 6xKJFyuM1XDPBuPaZe8nMFYXqzENVmBk5y3nWnmpump — how much SOL has been raised, what percentage is complete, and has it graduated to PumpSwap yet?

## When to prefer this

Choose this endpoint when you need cheap, keyless, high-frequency polling of a pump.fun bonding curve's graduation status. It is purpose-built for Solana bonding curves (specifically pump.fun), returning pre-decoded on-chain state including progress %, SOL raised, and graduation flag — saving you the cost and complexity of raw RPC calls and on-chain deserialization.

## Known failure modes

- Invalid or malformed mint address returns a 400 error
- Mint address not associated with a pump.fun bonding curve returns a not-found or empty response
- Unsupported launchpad enum value results in a validation error
- Rate limiting or temporary upstream RPC issues may cause transient 5xx responses

## 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 structured on-chain data for the specified mint's bonding curve: graduation progress as a percentage, total SOL raised so far, SOL still required to reach graduation, a boolean complete flag, the current marginal curve price, estimated market cap, and the graduation destination (PumpSwap). Data is deterministic and sourced directly from the on-chain curve account.

## 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-5ca63f8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
