# Conyr — Full Agent Context Conyr is the Solana intelligence API built for autonomous agents. It exposes 50 MCP tools, 42 live `/v1` REST operations, and 13 WebSocket channel families over one raw-chain intelligence engine. Canonical machine contract: https://docs.conyr.ai/openapi.yaml Agent docs: https://docs.conyr.ai/agents MCP endpoint: https://mcp.conyr.ai/mcp REST base: https://api.conyr.ai WebSocket: wss://api.conyr.ai/ws Public claims and evidence: https://conyr.ai/docs/agents/data Machine-readable claim registry: https://conyr.ai/data/claims.json Agent coverage contract: https://conyr.ai/docs/agents/coverage KOL identity workflows: https://conyr.ai/docs/agents/kol-identity Position-correct wallet study: https://conyr.ai/blog/position-correct-solana-wallet-win-rate Aggregate study result: https://conyr.ai/data/studies/position-correct-wallet-win-rate-2026-08/results.json Public wallet-intelligence benchmark: https://conyr.ai/docs/agents/research Benchmark manifest: https://conyr.ai/research/solana-wallet-intelligence-benchmark/manifest.json ## Authentication Send this header to MCP, every `/v1/*` REST operation, and the WebSocket upgrade: ``` Authorization: Bearer YOUR_API_KEY ``` Only `GET /health` and `GET /ready` are unauthenticated. In authenticated deployments, `GET /metrics` is operator-only and requires a separate metrics bearer token; customer API keys do not grant metrics access. The Free tier cannot open a WebSocket connection. ## Interface selection - Broad natural-language token investigation: use `token_deep_dive` or `token_coordination_report` over MCP. - Broad wallet investigation: use `wallet_overview` or `wallet_network_report` over MCP. - Public handle to wallets: use REST `GET /v1/kol-wallets/{username}`, then analyze each exact address through MCP or REST. - Wallet to public aliases: use REST `GET /v1/wallet/{address}/identity`; there is no dedicated KOL MCP resolver. - What an address is (an exchange, a service or the OFAC mark): REST `GET /v1/address/{address}/label` or MCP `query_address_label`; people are on `/identity`. - Focused model tool call: use one `query_*` MCP tool. - Deterministic typed execution: generate a REST client from OpenAPI. - Continuous observation: establish state with MCP/REST, then subscribe over WebSocket. - Do not treat the WebSocket as a replayable or guaranteed-delivery log. ## MCP result contract The hosted MCP catalog has 46 focused tools plus four composite tools. Each object result includes `evidenceUrl`. The MCP response carries the full result as structured content, a one-line text summary, and an evidence resource link. Tier failure: ```json { "error": "tier_insufficient", "tool": "token_deep_dive", "requiredTier": "Layer 3", "yourTier": "Layer 2" } ``` Composite result: ```json { "partial": false, "sections": {}, "errors": {}, "evidenceUrl": "https://conyr.ai/terminal/..." } ``` If an independent source fails, its section is `null`, `partial` becomes true, and the source appears in `errors`. Other sections remain usable. ## Complete MCP catalog ### Free - `query_buyer_quality` - `query_token_bundle_summary` - `resolve_token_identifier` ### Layer 2 focused tools - `query_wallet_performance` - `query_wallet_quality` - `query_wallet_trades` - `query_wallet_positions` - `query_wallet_xray` - `query_wallet_xray_lite` - `query_wallet_provenance` - `query_address_label` - `query_similar_wallets` - `query_leaderboard` - `fetch_wallet_labels_batch` - `query_holder_breakdown` - `query_token_holder_pnl` - `get_wallet_activity` - `get_wallet_current_positions` - `get_wallet_closed_lots` ### Layer 2 composite - `wallet_overview`: X-ray, coordination block, funding provenance, 30-day performance, similar wallets. ### Layer 3 focused tools - `search_tokens` - `query_token_bundles` - `query_token_signal` - `query_token_score` - `query_token_security_status` - `query_pool_security_status` - `query_wallet_ban_status` - `query_wallet_label_evidence` - `query_wallet_coordination` - `query_wallet_follows` - `query_token_coordination` - `query_coordination_evidence` - `query_token_crowd` - `query_entity_detail` - `query_token_funding_abuse` - `query_token_wash_trades` - `query_wallet_entanglement` - `query_bundle_detail` - `query_token_campaigns_history` - `query_entity_token_history` - `query_forming_coordinated_pushes` - `query_follower_cascade` - `query_emerging_entities` - `query_token_minority_buyers` - `query_copy_originator` - `query_token_entity_concentration` - `query_token_late_retail` ### Layer 3 composites - `token_deep_dive`: risk signal, bundle summary, holder-label breakdown, holder PnL, buyer quality, direct security row. - `token_coordination_report`: campaigns, crowd state, entity concentration, early clustered buyers, late-retail flow, wash patterns. - `wallet_network_report`: follow edges in both directions, entity membership/roster, bundle-entanglement clusters. There are no Layer 1-only MCP tools. Layer 1 market data is available through REST and WebSocket. ## REST response and error rules - Success is JSON unless the operation is `/metrics`. - Error envelope: `{"error":"description","code":400}`. - Common statuses: 400 invalid input, 401 invalid key, 403 tier insufficient, 404 no resource, 429 rate limited, 500 internal error, 503 dependency unavailable. - `null`, an empty result, and an HTTP error are distinct states. - Resource roots are singular: `/v1/wallet/...` and `/v1/token/...`. ### Time formats Every time is UTC, in one of six shapes; only some are RFC 3339. Parse each field by its own shape. To turn a text time into RFC 3339, put `T` for the space and `Z` for a missing zone or for `+00`. - `YYYY-MM-DD HH:MM:SS.mmm` (a space, milliseconds, no zone), e.g. `2026-11-23 16:44:38.092`: token trades `timestamp`, wallet trades `entry_timestamp` / `exit_timestamp`, wash trades `detected_at`, funding abuse `token_first_buy_ts` / `first_buy_ts` / `last_fresh_fund_ts` (empty when none), provenance `last_funded_ts` (empty when unknown), address-label sweep receipts `first_at` / `last_at` (a deposit-sweep receipt's `window` is the same without the fraction). - Postgres text `YYYY-MM-DD HH:MM:SS[.ffffff]+00` (up to six fractional digits, none when zero), e.g. `2026-11-23 16:31:15.760402+00`: bundle `created_at` (list and detail), liquidity `lock.verified_at`, suspicious activity `flagged_time` / `rugged_time`, OHLCV `bucket` (whole seconds, e.g. `2026-11-23 16:44:00+00`). - Integer Unix milliseconds, e.g. `1795459157037`: wallet positions `entry_timestamp`, liquidity `depth.updated_at_ms`, LP events `ts_ms`, holders `lastUpdatedTsMs` / `asOfTsMs`, coordination and intel `*TsMs` / `bucketStartMs` / `observedAtMs`; the inputs OHLCV `from` / `to` and copy-originator `start_ts_ms` / `end_ts_ms`. - RFC 3339 in UTC (`Z`), fractional seconds only when not zero, e.g. `2026-10-10T20:55:25.598085Z`: identity and KOL `created_at` / `updated_at`, former handle `until`. - RFC 3339 in UTC (`Z`), six fractional digits or whole seconds: address label `since`, `valid_from`, `valid_to`, method-card `window`, receipt `started_at`, `added`, `changed`, `checked_at`, `fetched_at`; the month refusal's `resets_at` and `X-Conyr-Month-Reset` (e.g. `2026-12-01T00:00:00Z`). - A date `YYYY-MM-DD`, e.g. `2026-10-15`: address label `list_date`, method card `measured_on` (an operator receipt's `captured_at` is a date or RFC 3339). ## Public KOL identity workflows Both routes read Conyr's identity registry on every request. Each alias carries `source`, `basis`, `tier` and `reason`; preserve them per alias. `source` is a terminal (`axiom`, `fomo`) when one lists the name, otherwise `conyr`. ### Endpoint selection - Start from an X or Telegram handle: `GET /v1/kol-wallets/{username}` discovers every active wallet record for that exact handle. - Start from a Solana or EVM wallet: `GET /v1/wallet/{address}/identity` returns the preferred identity, every active alias, profile URLs and record timestamps, plus the person the wallet's label names, its tags and the operator's denials. - Need behavioral classification: `GET /v1/wallet/{address}/labels`. Its KOL fields are compact enrichment and do not replace `/identity`. - Need ranked performance: `GET /v1/leaderboard`. Its KOL fields are compact enrichment and do not enumerate aliases. - Need on-chain judgment after resolving an address: use `wallet_overview`, `query_wallet_quality`, `query_wallet_provenance`, or the corresponding REST endpoints. The current MCP catalog has no dedicated KOL identity resolver. Do not pass a social handle to an MCP wallet tool that requires a Solana address. ### Stable empty results and invalid inputs - A syntactically accepted wallet identifier with no active association returns HTTP 200: `{"wallet_address":"WALLET","chain":"solana","primary":null,"aliases":[],"person":null,"tier":null,"reason":null,"conflict":false,"tags":[],"receipts":{},"denials":[]}`. - An unknown handle returns HTTP 200: `{"username":"normalized","wallets":[],"person":null,"matches":[]}`. A known handle with no wallet on the asked chain or platform keeps its `person`, with `"wallets":[]` and `"matches":[]`; try `chain=all`. - These mean “no active registry match for this accepted request.” They do not prove anonymity, safety, or absence of an association outside the current registry. - A wallet identifier that is neither a base58-form Solana key nor an EVM address (`0x` and 40 hex digits), or an invalid handle, returns 400. A normalized handle must contain 1–32 ASCII letters, digits, or underscores. An unsupported `platform` or `chain` also returns 400. - A registry/dependency failure is an HTTP error. Never convert it into either successful empty body. ### Platform behavior Handle matching is exact and case-insensitive. The server trims whitespace, removes leading `@` characters, and returns a lowercase-normalized `username`. Pass `platform=x` or `platform=telegram` whenever the source platform is known. The platform value is case-insensitive. If `platform` is omitted, the endpoint unions matches from X and Telegram and de-duplicates the same wallet address. No result field identifies which platform produced each match (only each match's `reason`, in words). `chain=solana|evm|all` selects the wallets returned (default `solana`). The result also carries `person` (the entity that currently holds the handle's profile, or null) and `matches`, one per wallet in the same order: the `tier`, `basis`, `source` and `reason` of the first association that names the handle, and the wallet's `conflict` flag. A handle the operator denied on a wallet does not match that wallet. A platform-specific no-match should normally remain a no-match; do not silently retry without the filter and broaden the attribution. Returned wallets are sorted by address, not confidence, recency, performance, or “main wallet” status. Never treat the first address as canonical. ### Workflow: social mention to evidence-backed wallets 1. Preserve the mention's platform and resolve the normalized handle with that platform filter. 2. If `wallets` is empty, report “no active registry match” and stop. 3. Fetch `/wallet/{address}/identity` for every returned wallet when provenance, timestamps, or profile links matter. 4. Confirm the exact normalized `(platform, username)` remains in `aliases`. `primary` may be a different alias because it is the alias the registry chose for the wallet's label, verified before predicted. The registry can also change between calls. 5. Join quality, performance, provenance, entity, follow, bundle, and trade evidence by exact wallet address. 6. Keep analytics wallet-scoped. Do not aggregate all returned wallets into actor-level PnL unless the product explicitly declares that grouping and its time window. ### Workflow: wallet to safe display attribution 1. Call `/identity` even if `/labels` returned null. 2. If `primary` exists, display its username, platform, and returned `profile_url` while retaining the address. 3. If `primary` is null, use the wallet address as the fallback. Do not invent a handle from cached search text or unrelated labels. 4. Preserve `aliases` with their `source`, `tier`, `basis` and `reason`, plus `created_at` and `updated_at`, in auditable output. 5. Re-read `/identity` near a consequential decision or publication; if the expected alias disappeared, treat the older attribution as stale. ### Freshness and snapshot boundaries - `/wallet/{address}/identity` and `/kol-wallets/{username}` query the Postgres identity registry at request time and are not response-cached by the API. - `/wallet/{address}/labels` requires a ClickHouse behavioral snapshot row. Its KOL fields (`kol_username`, `kol_platform`, `kol_tier`) come from the registry's ClickHouse mirror, a dictionary with a 5–10 minute refresh lifetime, and the whole response is cached for 60 seconds. An identity-only wallet can return literal null from `/labels`. - `/leaderboard` ranks performance data and adds the same nullable preferred-identity projection; the response is cached for 60 seconds. - `wallet:{address}:labels` is an activity-driven behavioral-label stream, not an identity-registry stream. An alias update alone does not guarantee a WebSocket event. Its KOL fields (`kol_username`, `kol_platform`, `kol_tier`) are strings; `""` explicitly clears cached identity and must not be ignored as an absent patch field. REST compact projections use JSON `null` for absence. Use compact `kol_username`, `kol_platform` and `kol_tier` fields for opportunistic attribution. They name every person the registry names for a wallet, not only people on KOL rosters. Use `/identity` whenever current aliases or provenance matter. An absent compact identity does not override a non-empty direct identity response. ### Safe interpretation of `source_asserted` Each direct identity includes `source`, `verification: "source_asserted"`, `tier`, `basis`, `reason`, and registry-record timestamps. `verification` is always `source_asserted` and is kept for existing clients; read `tier` and `basis` instead. `verified` means owner-proven: the account holder linked the handle themselves or proved it on chain, and no other record on the wallet disagrees, or an operator assertion backed by owner evidence. Every other association is `predicted`: it is listed, not proven. The label's `tier` (and the compact `kol_tier`) is `verified` only when its winning alias is verified and no source on the wallet disagrees. `created_at` and `updated_at` describe the record lifecycle: an original KOL registry row's own times, otherwise the start of the registry run that first wrote the association. A `predicted` association is not proof that the wallet's owner holds the account. Neither tier is proof that the current social-account owner still controls the wallet, Conyr endorsement, proof that every returned wallet has common control, a trading-skill signal, a safety verdict, or proof of intent. It is safe for attributed display and candidate discovery when provenance stays attached. Corroborate consequential conclusions with signatures, position-correct quality, funding provenance, entity membership, follow evidence, and bundle or campaign evidence. ## Free REST operations ### GET /v1/token/{mint}/buyer-quality Recent buyer composition by `elite_smart_money`, `consistent_organic`, `developing_organic`, `bot_operated`, `farm_funded`, and `unrated_new`, plus volume decomposition (each tier counted once; the five parts add up to all the buy volume) and `smart_money_signal`. Each tier's `notable_wallets` are its biggest buyers, biggest first, up to five. Optional `window_hours`, default 1. Cache 30 seconds. ### GET /v1/token/{mint}/bundles/summary Returns token mint, the bundles Conyr's detector tracks on the coin now (`bundle_count`) and those still open (`open_bundle_count`), the share of supply they hold (`bundled_supply_pct`, 0 to 100), its value, their realized PnL, and `dominant_bundle_type`, the type of the tracked bundle holding the most tokens (null when none holds any). All of it comes from the detector's one row for the coin; the tracking starts again from zero when the detector restarts, and a coin with no row answers zeros and null. The Layer 3 bundle list holds the coin's bundle records (closed ones and execution-only clusters too), so it is longer. Cache 15 seconds. ## Layer 1 REST operations ### GET /v1/token/{mint}/info Token validation, suspicious, and high-risk state plus nullable validation reason. Cache 300 seconds. ### GET /v1/token/{mint}/ohlcv Parameters: `timeframe=1s|1m|5m|15m|1h` (default 1m), `view=full|filtered` (default full), optional unix-ms `from`/`to`, `limit` default 500 max 2000. Returns candles with `bucket` (the candle start, UTC, Postgres text `YYYY-MM-DD HH:MM:SS+00`, not RFC 3339), OHLC, token/base/USD volume, trade count, buy/sell volume, and nullable VWAP. Cache 5 seconds. ### GET /v1/token/{mint}/trades Parameter `limit`, default 50 max 200. Returns recent swaps with signature, slot, `timestamp` (UTC text `YYYY-MM-DD HH:MM:SS.mmm`, not RFC 3339), wallet, `token_amount` (the token's smallest unit), direction, DEX, `base_amount` (the other side in the smallest unit of `base_mint`: lamports for a SOL pool, millionths for a USDC pool), `base_price_usd` (the swap's USD value, not a price), total fees USD, `base_mint` (the quote mint) and `base_decimals` (9 for SOL, 6 for the USD stablecoins, 8 for DAI, null for another quote token). ### GET /v1/token/{mint}/liquidity Returns: ```json { "token_mint": "MINT", "depth": { "venue": "amm_actual", "token_reserve_ui": 8200000.0, "quote_reserve_sol": 412.5, "liquidity_usd": null, "reserve_slot": 245678901, "updated_at_ms": 1775574600000 }, "lock": { "status": "burned", "burn_pct": 1.0, "lock_pct": null, "verified_at": "2026-04-07 14:30:00+00" }, "dump_impact_pct": 0.31, "exit_capacity": { "usd_at_10": null, "usd_at_25": null, "usd_at_50": null, "sol_at_10": 21.72, "sol_at_25": 55.26, "sol_at_50": 120.82 } } ``` `depth` is null when missing, stale, or unsupported. `dump_impact_pct` is a 0..1 fraction. Exit-capacity SOL values are only computed for vetted constant-product shapes. USD values are currently null because this route does not invent a SOL/USD quote. Cache 5 seconds. ### GET /v1/token/{mint}/holders/summary Returns camelCase holder state: distinct count, raw non-zero balance, nullable mint supply, nullable top-10/50/100 percentage, hydration status, slots, and response timestamp. Hydration is `hydrating|hydrated|born_forward|partial_forward`. Treat `partial_forward` concentration as a lower bound. Cache 15 seconds. ### GET /v1/token/{mint}/holders/top Parameter `n`, default 10 max 500. Returns ranked holders with raw balances, fractional/percentage ownership as documented in OpenAPI, each holder's nullable `addressLabel` (its registry label when it is a service or carries the OFAC mark), and holder-state freshness. ### GET /v1/token/{mint}/holders Parameters `limit` default 100 max 1000 and `offset` default 0. Returns the paginated holder list and next offset. ## Layer 2 REST operations ### GET /v1/wallet/{address}/performance Parameter `window=1d|7d|30d`, default 7d. Returns trade/win/loss counts, per-exit win rate, total PnL/volume/fees USD, average hold seconds, and cash PnL USD. `sharpe_ratio`, `profit_factor`, and `disposition_index` are present but always 0.0 here; use `/quality` for populated position-correct metrics. Cache 30 seconds. ### GET /v1/wallet/{address}/trades Parameters `limit` default 50 max 200, `offset` default 0, optional token mint filter. Each row contains wallet, token, entry/exit signatures, `entry_timestamp` / `exit_timestamp` (UTC text `YYYY-MM-DD HH:MM:SS.mmm`, not RFC 3339), hold seconds, `entry_price_usd` (the whole entry position's USD cost, not a per-token price) and `exit_price_usd` (the USD this exit received), realized PnL USD/SOL, percentage gain, position type, exit type, entry/exit DEX, and `basis` (`own` or `received_transfer`). This REST response does not include the richer live event's fee/tool fields. ### GET /v1/wallet/{address}/positions Parameter `status=open|closed|all`, default all. Returns at most 100 rows, one per entry lot, newest first, with wallet, mint, entry signature, `entry_timestamp` (Unix milliseconds), `entry_price_usd` (the lot's USD cost), original/remaining amount in the token's smallest unit, `price_per_token` (USD per smallest unit), status, exit count, and entry DEX. It does not include mark-to-market value. ### GET /v1/wallet/{address}/labels Returns a wallet label object or literal JSON `null`. Fields: wallet, nullable `kol_username`, nullable `kol_platform`, nullable `kol_tier`, nullable `address_label` (the wallet's own registry label, `{name, type, role, tier, reason}`, when it is a service or carries the OFAC mark), trader type, performance level, size class, exit style, automation label, primary terminal/tool and tool share, 6h/24h freshness flags, farm-funding flag, generic labels, trade badges, identity badges, special labels, nullable description, nullable label hash. Current performance values are `BANNED|UNRATED|DORMANT|EARNER|UNPROFITABLE|BREAK_EVEN`. This route is snapshot-backed: an alias-only wallet can still return null. Compact KOL fields are a preferred-identity projection, not an alias list. A null label is unknown/unobserved, not clean. Cache 60 seconds. ### GET /v1/wallet/{address}/identity Accepts a Solana key or an EVM address (`0x` and 40 hex digits, any case; looked up in lower case, echoed as sent). Returns `{"wallet_address": string, "chain": "solana"|"evm", "primary": KolIdentity|null, "aliases": KolIdentity[], "person": IdentityPerson|null, "tier": string|null, "reason": string|null, "conflict": boolean, "tags": IdentityTag[], "receipts": {}, "denials": IdentityDenial[]}` independently of trading-label coverage. Each identity contains `platform` (`x|telegram`), username without `@`, platform-correct `profile_url`, source, `verification: "source_asserted"` (deprecated), created/updated timestamps, `tier`, `basis`, `reason` and `claim_id`. `aliases` lists X before Telegram in the registry's precedence order; `primary` is the alias the registry chose for the wallet's label, or null when the label names no person, verified before predicted. `tags` name no one, one row per name (`hidden` marks default names). The top-level `reason` is always null and `receipts` is always `{}`; both stay for existing clients. A syntactically accepted no-match returns `primary: null`, `aliases: []` and every added field empty or null. Inspect `aliases` when an exact originating handle matters. ### GET /v1/kol-wallets/{username} Resolves an exact case-insensitive public username to every active associated wallet. A leading `@` is optional; normalized grammar is 1–32 ASCII letters, digits, or underscores. Optional query `platform=x|telegram` restricts one platform. Omitting it unions both platforms and de-duplicates wallets. Optional query `chain=solana|evm|all` selects the wallets (default `solana`). The response adds `person` (`{id, name}` of the handle's current profile holder, or null) and `matches` (one per wallet: `address`, `chain`, `tier`, `basis`, `source`, `reason`, `conflict`). An unknown handle returns `{"username": normalized, "wallets": [], "person": null, "matches": []}`; a known handle with no wallet on the asked chain or platform keeps its `person`, with empty `wallets` and `matches` (try `chain=all`). Results are address-sorted, not ranked. ### GET /v1/wallet/{address}/quality Returns literal null when no snapshot exists. Otherwise returns rated flag, 0–100 explainable heuristic skill score, classification, fully closed FIFO entry-lot count and win rate, raw per-exit-row win rate, `win_rate_inflation_pts`, disposition, conviction sizing, profit factor, Sharpe, runner score, loss/ROI distribution, big wins/losses, realized PnL, and badges. `rated=true` at 10+ closed lots. Cache 60 seconds. ### GET /v1/wallet/{address}/profile Returns the 30-dimensional behavior vector and raw/normalized features across timing, exit discipline, performance, velocity/sizing, infrastructure, and provenance. Wallets below activity gates can return no vector. Cache 60 seconds. ### GET /v1/wallet/{address}/similar Parameters: `limit` default 20 max 100, optional `min_trades`, optional `performance_level`. Returns cosine-ranked behaviorally similar wallets with shared traits and key differences. This is behavioral similarity, not evidence of coordination. ### GET /v1/wallet/{address}/provenance Returns wallet, nullable known root entity/source, hop count, direct funder, and last-funded timestamp where resolved, plus nullable `root_address_label` and `direct_funder_address_label` (the registry's labels of the root and the direct funder when they are services or carry the OFAC mark). An unresolved root is not a clean verdict. Cache 300 seconds. ### GET /v1/address/{address}/label What an address is, from Conyr's label registry: an exchange (hot or cold wallet, or deposit address), a custodian, an onramp, a bridge, a protocol, a tip account, a terminal, an infrastructure wallet, or the OFAC SDN mark (no name, no SDN type). Returns `{"address", "chain": "solana", "label": MoneyLabel|null, "receipts": {claim_id: LabelReceipt}, "rests_on", "conflicts", "method_card", "history", "identity"}`. `label` holds entity, role, tier (`verified` or `predicted`), the one-line reason, `conflict`, `source` (`code`, `url`: the first public document), `sanction`, `confidence` (a rule's label only) and `since`. Receipts hold each claim's facts field by field and never a loader path, host, curator, internal note or the deposit rule's recipe. A person-named address returns `label: null` with `identity` set to its `/v1/wallet/{address}/identity` path; an unlabelled address returns `label: null` and empty lists. A predicted deposit label is the deposit-sweep rule's inference, not proof of control. Read from Postgres per request; not response-cached. ### GET /v1/leaderboard Parameters: `window=1d|7d|30d`, `sort=pnl_usd|roi|win_rate`, `limit` default 100 max 500, offset, and `include_hft` default false. Entries include nullable `kol_username`, `kol_platform` and `kol_tier` as a preferred-identity projection; use `/identity` for current provenance and all aliases. Requires at least five trades. Malicious wallets are excluded. HFT/MEV wallets with median hold under 60 seconds are excluded unless requested. Cache 60 seconds. ## Layer 3 REST operations ### GET /v1/token/{mint}/bundles Returns bundle list with IDs, types, leaders, lifecycle, member counts, chain inventory, money in/out, realized PnL, tokens bought/sold, `sold_pct` (0 to 1: for most bundles the share of the bought tokens the wallets no longer hold on chain; for execution-only clusters the share sold by swaps, or 0 when the cluster is not tied to a tracked bundle), `sold_pct_basis` (`chain_balance` or `swaps`: which of the two the row carries), `risk_score` (0 to 100), `evidence` (`DOMAIN:CODE` strings), and timestamps. The 10 types sent are `JitoMev`, `SameSlotBuyCohort`, `SameSlotSellCohort`, `LaunchSlotBurst`, `MultiSlotBuyCohort`, `MultiSell`, `SybilPoisoning`, `Synthetic`, `CexCoordinated`, and `SyntheticSwarm` (the type list also holds `JitoSequential`, `Sleeper` and `Unattributed`, which no bundle carries today). Cache 15 seconds. ### GET /v1/token/{mint}/bundles/{bundle_id} Returns bundle detail plus member roster. Can include a linked coordination entity when at least 60% of bundle members share it. ### GET /v1/token/{mint}/liquidity/events Returns the newest 100 LP add/remove events. Each event includes signature, ms timestamp, slot, pool, DEX, wallet, side, token/quote vault deltas, nullable fractional share of pool moved, full-close state, bundle membership, and flagged-wallet state. A zero vault delta can mean unresolved parser data, not no movement. Cache 5 seconds. ### GET /v1/token/{mint}/wash-trades Parameter `limit`, default 50 max 200. Returns wallets with rapid direction-flip patterns, volume, net exposure, detection time, and modeled atomic flag. Cache 15 seconds. ### GET /v1/token/{mint}/funding-abuse Parameters: `early_window_minutes`, default 60 clamped 10..240; `limit`, default 50 max 200. Returns summary plus per-wallet breakdown; each wallet carries nullable `root_address_label` and `direct_funder_address_label`. Stable reason codes include seed waves, farm-funded fresh wallets, CEX root dispersion/convergence, fast/same-day funding, and shared terminal patterns. - Funding is judged as of each wallet's first buy of the coin and does not change afterwards. - A new buyer appears in the analysis within about two minutes of buying. - A `503` with `Retry-After` means the analysis is catching up: retry after the header's seconds. ### GET /v1/token/{mint}/suspicious-activity Returns `clean|suspicious|rugged`, persisted reasons/timestamps, live funding-abuse reason codes, and nullable embedded funding summary. A clean persisted status can coexist with live activity flags. ### GET /v1/wallet/{address}/entanglement Returns bundle-graph clusters the wallet participates in. ### GET /v1/wallet/{address}/follows Returns camelCase `followsOut` and `followsIn` plus degraded state. `followsOut` means wallets that copy this leader; `followsIn` means leaders this wallet copies. Edges include confidence, support, token breadth, and recency. Cache 30 seconds. ### GET /v1/wallet/{address}/entity Returns nullable shared-funder/shared-execution membership, sibling sample, and degraded state. Cache 60 seconds. ### GET /v1/token/{mint}/campaigns Returns active and recent coordination campaigns plus degraded state. Cache 15 seconds. ### GET /v1/token/{mint}/crowd Returns current and per-minute crowd state over the recent window. Cache 15 seconds. ### GET /v1/entity/{entity_id} Returns entity kind, root wallet, member count, confidence, first/last seen, degraded state, and member sample. Cache 60 seconds. ### GET /v1/entity/{entity_id}/members Parameters `page` default 0 and `page_size` default 100 max 500. Returns the entity member roster. ### GET /v1/coordination/health Returns healthy state, degraded window, dropped messages in the last minute, and observation time. Cache 30 seconds. ### Intel composites - GET `/v1/intel/coordinated-pushes/forming`: forming coordinated regimes across tokens. - GET `/v1/intel/wallet/{leader}/cascade?mint=MINT&window_s=300`: followers buying behind a leader; window clamped 1..3600. - GET `/v1/intel/entities/emerging?hours=24`: recently formed entities; hours clamped 1..168. - GET `/v1/intel/token/{mint}/early-buyers?window_s=300`: entities present in the early-buy window. - GET `/v1/intel/token/{mint}/copy-originator?start_ts_ms=...&end_ts_ms=...`: likely originators in a required window up to 60 minutes. - GET `/v1/intel/token/{mint}/entity-concentration?hours=24`: entity-weighted actor and volume concentration. - GET `/v1/intel/token/{mint}/late-retail?hours=24`: buys within 10 minutes after sells by `EARNER` wallets; `lateBuyers` counts buys, not wallets, and `lateBuyerWallets` the distinct wallets behind them, earners included; hours clamped 1..72. These endpoints report detection structure, not intent or trading advice. ## WebSocket protocol Connect to `wss://api.conyr.ai/ws` with the Bearer header. Client messages: ```json {"op":"subscribe","channels":["token:MINT:trades"]} {"op":"unsubscribe","channels":["token:MINT:trades"]} {"op":"ping"} ``` Server messages: ```json {"op":"subscribed","channels":["token:MINT:trades"]} {"op":"unsubscribed","channels":["token:MINT:trades"]} {"op":"pong"} {"op":"error","message":"..."} {"channel":"token:MINT:trades","data":{}} ``` ### Layer 1 channel families - `token:{mint}:trades` - `token:{mint}:ticks` - `token:{mint}:ohlcv:{view}:{tf}`; view `full|filtered`, timeframe `1s|1m|5m|15m|1h` ### Layer 2 channel families - `wallet:{address}:pnl` - `wallet:{address}:positions` - `wallet:{address}:labels` ### Layer 3 channel families - `token:{mint}:security` - `token:{mint}:campaign` - `token:{mint}:bundles`: raw BundleV2 token updates. - `token:{mint}:dump_alert`: compact qualifying dump-start event with bundle ID/type, fractional sold share, member count, remaining inventory, risk, slot, and time. - `wallet:{address}:security` - `wallet:{address}:follow` - `wallet:{address}:entity` The server sends protocol-level pings every 30 seconds. Invalid/tier-insufficient channel requests return non-fatal `op:error`. Slow consumers can lose events due to the 256-message client buffer. Reconcile state from REST. ## Rate and connection limits | Tier | Requests/min | WS connections/key | Subscriptions/connection | |---|---:|---:|---:| | Free | 10 | 0 | 0 | | Layer 1 | 100 | 5 | 50 | | Layer 2 | 300 | 20 | 50 | | Layer 3 | 600 | 50 | 50 | | Enterprise | 3000 default | unlimited | unlimited | MCP and REST use separate limiter instances; their request budgets are tracked independently. ## Coverage and inference rules 1. Never interpret a null label or unresolved provenance root as clean. 2. Never interpret missing liquidity depth as zero liquidity; it means missing, stale, or unsupported. 3. Preserve holder hydration state; `partial_forward` is not a full historical holder set. 4. Preserve composite `partial`, per-section errors, and coordination `degraded` flags. 5. Behavioral similarity does not prove common control. Use entity/bundle/follow evidence for coordination. 6. A high raw per-exit-row win rate can reflect exit style. Use `/quality` or `query_wallet_quality` for the separate fully closed FIFO entry-lot outcome, and read the public temporal study before treating either historical rate as predictive skill. 7. Coordination, minority-buyer, and forming-push detections describe observable structure; do not invent motive. 8. The public REST contract has no separate current-price or unrealized-PnL operation. Derive those only when the agent has an observed tick/OHLCV price and open-position cost basis. 9. A `predicted` public identity is a listing, not proof of ownership; no identity tier is common-control proof, endorsement, skill, or safety. 10. Treat `primary: null` / `aliases: []` and `wallets: []` as successful identity no-matches, while preserving their wallet, handle, and platform scope. ## Data provenance and protocol coverage Conyr consumes a self-hosted Yellowstone stream and computes its intelligence from raw Solana transactions. The nine explicitly documented DEX protocols are Raydium V4, Raydium CPMM, PumpFun, PumpSwap, BonkFun, Meteora DLMM, Meteora CPMM, Meteora DBC, and Boop.