Skip to content

docs: drop 6 sunset endpoints, correct ~140 stale prices, add DefiLlama + Market Data - #33

Merged
VickyXAI merged 1 commit into
mainfrom
docs/endpoint-surface-sync
Aug 4, 2026
Merged

docs: drop 6 sunset endpoints, correct ~140 stale prices, add DefiLlama + Market Data#33
VickyXAI merged 1 commit into
mainfrom
docs/endpoint-surface-sync

Conversation

@VickyXAI

@VickyXAI VickyXAI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Follows an audit of BlockRun's published endpoint surface (blockrun#chore/endpoint-surface-sync).

Removed — upstream probing showed these are gone

Probed api.predexon.com directly, 3 runs each, 2026-08-04:

  • /v1/pm/markets, /v1/pm/markets/listings, /v1/pm/outcomes/{predexon_id} — all return
    410 "This endpoint has been sunset as of 2026-07-20. Market matching is discontinued."
    The docs(pm): drop sunset matching-markets endpoints #32 note named these as the replacement for matching-markets; they were already dead
    when it was written. markets/search is the survivor (422 on a missing ?q=, i.e. alive),
    and every example now uses it.
  • /v1/pm/dflow/* — bare {"detail":"Not Found"}, upstream's no-such-route body. The dFlow
    category is gone from Predexon v2.
  • /api/v1/markets/* in the ecosystem table — never existed as a route at all.

/v1/pm/sports/* is marked temporarily unavailable rather than deleted: it returns a
consistent upstream 500, which is a partner bug, not a sunset.

Prices

Every per-call figure in these docs was the customer price under the old $0.002 transaction
fee
. It returned to $0.001 on 2026-07-29 and the docs never moved, so all of them over-quoted:

published real
Predexon / Surf (117 occurrences) 0.0095 0.0085
Exa flat · contents 0.012 · 0.002/URL 0.011 · 0.003/URL
Modal create · ops 0.012 · 0.003 0.011 · 0.002
RPC · Solana RPC 0.004 · 0.0025 0.003 · 0.0015
Sound effects · Music 0.052 · 0.15 0.0535 · 0.151
Voice call · phone number 0.542 · 5.00 0.541 · 5.001
RealFace / Portrait / Polymarket-fund 0.012 0.011
Equities (Pyth) 0.003 0.0010

The last one is not fee drift: pyth-handler.ts bills PYTH_PRICE_USD flat and deliberately
does not add the transaction fee, so the docs were 3x high.

New pages

Both for services that were live with no documentation anywhere:

  • api-reference/defillama.md — 5 endpoints (TVL, per-chain TVL, yields, token prices)
  • api-reference/market-data.md — the Pyth verticals, including which are free

x402/endpoints.md gains a DeFi Data section and per-endpoint phone pricing in place of
"returned in 402"; ecosystem.md gains the seven services it omitted.

…ma + Market Data

Follows the blockrun-side audit of the published endpoint surface.

Removed — upstream probing (3 runs each, 2026-08-04) showed these are gone:
  /v1/pm/markets, /v1/pm/markets/listings, /v1/pm/outcomes/{predexon_id}
    410 "sunset as of 2026-07-20. Market matching is discontinued." The #32 note
    named these as the replacement for matching-markets; they were already dead
    when it was written. markets/search is the survivor, and examples now use it.
  /v1/pm/dflow/*
    404 route-not-found. The dFlow category is gone from Predexon v2.
  /api/v1/markets/*  (ecosystem table)
    Never existed as a route at all — a phantom row.

/v1/pm/sports/* is marked temporarily unavailable rather than deleted: it is
returning a consistent upstream 500, which is a partner bug, not a sunset.

Prices: every per-call figure in these docs was the customer price under the
OLD $0.002 transaction fee. It returned to $0.001 on 2026-07-29 and the docs
never moved, so all of them over-quoted:

  Predexon / Surf   0.0095 -> 0.0085   (117 occurrences)
  Exa flat          0.012  -> 0.011    · contents 0.002 -> 0.003 / URL
  Modal create      0.012  -> 0.011    · ops 0.003 -> 0.002
  RPC               0.004  -> 0.003
  Solana RPC        0.0025 -> 0.0015
  Sound effects     0.052  -> 0.0535
  Music             0.15   -> 0.151    · Live search 0.025 -> 0.026 / source
  Voice call        0.542  -> 0.541    · phone number 5.00 -> 5.001
  RealFace / Portrait / Polymarket-fund  0.012 -> 0.011
  Equities (Pyth)   0.003  -> 0.0010

The last one was not fee drift: pyth-handler.ts bills PYTH_PRICE_USD flat and
deliberately does not add the transaction fee, so the docs were 3x high.

New pages, both for services that were live with no documentation anywhere:
  api-reference/defillama.md    — 5 endpoints, TVL / yields / token prices
  api-reference/market-data.md  — the Pyth verticals, incl. which are free

x402/endpoints.md gains a DeFi Data section and per-endpoint phone pricing in
place of "returned in 402"; ecosystem.md gains the seven services it omitted.
@VickyXAI
VickyXAI merged commit 5833f70 into main Aug 4, 2026
1 check passed
@VickyXAI
VickyXAI deleted the docs/endpoint-surface-sync branch August 4, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant