---
name: galactic-radar-exit-check
description: Before buying or sizing a position in any Solana, Base or BNB Chain token, check whether you can actually get out - a live executable sell quote for your position size, the round-trip loss, price impact, route availability and liquidity/contract warnings. Pay-per-call with x402 (USDC on Solana), no account or API key.
---

# Galactic Radar exit check

Use this before entering a token position, or before increasing one. Charts and market caps do not tell you whether a sale can be paid. This does: it asks for a real executable sell route for **your** position size, right now.

## Endpoint

`GET https://galacticbridge.com/api/v1/agent/exit-check`

| Query parameter | Required | Meaning |
|---|---|---|
| `token_address` | yes | Solana mint, or `0x…` contract on Base / BNB Chain |
| `chain` | no | `solana` (default, live quotes), `base` or `bsc` (Radar measurements) |
| `position_usd` | no | Position size in USD to quote, 1 to 1,000,000 (default 1000) |

**Price:** $0.02 per successful check, paid with **x402 v2**, USDC on Solana mainnet (`solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`). The first request returns `402 Payment Required` with the payment requirements; any x402 client pays and retries automatically. Network fees are paid by the facilitator. **A failed analysis is never charged** (any 4xx/5xx answer cancels the payment).

**Paying with GBRIDGE (optional, 25% cheaper):** when offered, the 402 answer lists a second option: about $0.015 worth of GBRIDGE (mint `GAb4WKfNBwbvMHZR7MKMZRy9JQxhEbKk6iXj2cJXbBvg`, 9 decimals), priced from a fresh Jupiter price shown in `extra`. USDC is always listed first and stays the default. Standard x402 clients only pay default stablecoins, so GBRIDGE has to be allowed explicitly by the agent's owner:

```ts
const client = new x402Client((v, reqs) => reqs.find((r) => r.asset === "GAb4WKfNBwbvMHZR7MKMZRy9JQxhEbKk6iXj2cJXbBvg") ?? reqs[0])
  .setSpendControls({ allowedAssets: [{ network: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp", asset: "GAb4WKfNBwbvMHZR7MKMZRy9JQxhEbKk6iXj2cJXbBvg", maxAmountPerPayment: "500000000000" }] }) // cap: 500 GBRIDGE per payment
  .register("solana:*", new ExactSvmScheme(signer));
```

**Free demo:** `GET https://galacticbridge.com/api/v1/agent/exit-check/demo` with the same parameters returns cached answers only (no fresh quote), 10 an hour.

## What you get (JSON)

- `sell`: `routeAvailable`, `receivedUsd`, `receivedSol`, `lossPct`, `priceImpactPct`, `route`, `quotedAt`, `expiresAt` (quotes are valid ~30 seconds). `routeAvailable: false` means no route can sell that size at once.
- `roundTrip`: buy with `position_usd` of SOL, sell straight back: `backUsd`, `lossPct`. A large loss means a thin or taxed market.
- `pools`: `exitCashUsd` (the quote-asset reserves sellers can actually be paid from), `shownLiquidityUsd`, `topWalletCrashPct` (price drop if the largest wallet sells everything).
- `token`: price, market cap, holders, mint/freeze authority status, whether it is still on a launch curve.
- `warnings`: `{ level: "red" | "amber", code, text }` from Galactic Radar (e.g. `honeypot`, `mint`, `freeze`, `pulled`, `drained`, `thinexit`).
- `measuredAt`, `generatedAt`, `source`.

## How to use the answer

- `sell.routeAvailable == false` or `sell.lossPct` far above your tolerance: the position cannot be exited at that size.
- Red warnings such as `honeypot`, `pulled`, `drained`, `mint`, `freeze` are serious: check them before trading.
- Re-quote right before you trade: quotes expire.

## GBRIDGE market (free)

GBRIDGE is the Galactic Bridge token (Solana mint `GAb4WKfNBwbvMHZR7MKMZRy9JQxhEbKk6iXj2cJXbBvg`, 1,000,000,000 supply, mint and freeze authority disabled). It trades in one verified pool: Meteora DAMM v2 GBRIDGE/SOL `Ec3qCsPsdG1hVQXchfwNL2YpCQpNggBaEcNXvkefYo8B`, routed by Jupiter.

- `GET https://galacticbridge.com/api/v1/agent/gbridge`: price, liquidity, live buy and sell quotes at $1 to $500, the largest sale that executes right now (`limits.maxSellUsdNow`), fees, token facts and warnings. Free, cached up to 5 minutes.
- `GET https://galacticbridge.com/api/v1/agent/gbridge/quote?side=buy&usd=25`: one live quote, free (expires in ~30 seconds).
- MCP tools (free): `gbridge_market`, `gbridge_quote`, `gbridge_liquidity`, `gbridge_token_info`.

Execution: quotes only. Trade with your own wallet through Jupiter's swap API or the Meteora pool. Galactic Bridge never holds funds and never trades for anyone. Read `warnings` before trading: the sell side is still small, so check `limits.maxSellUsdNow`.

This is measured data, not financial advice and not a recommendation to buy or sell.

## Example (TypeScript, x402 client)

```ts
import { wrapFetchWithPayment } from "@x402/fetch";
// configure your x402 client with a Solana signer holding USDC, then:
const res = await fetchWithPay("https://galacticbridge.com/api/v1/agent/exit-check?chain=solana&token_address=DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263&position_usd=1000");
const check = await res.json();
if (!check.sell?.routeAvailable || check.sell.lossPct > 5) { /* don't size in */ }
```

Operated by Galactic Bridge · galacticbridge.com · info@galacticbridge.com
