Skip to content

URGENT: 'public, no auth' endpoint claims are wrong across the entire SDK suite #9

Open

Description

@pimfeltkamp

Iter-52 ran an end-to-end smoke test against the live API and discovered that none of the endpoints documented as "public, no auth needed" across the SDK suite actually accept anonymous calls. Every request to api.cryptohopper.com/v1/* with no/invalid Authorization header is rejected by the AWS API Gateway in front of the API.

This affects published SDKs, freshly-merged wiki content, and pending PRs. Filing as urgent because it's a correctness bug that will bite the first user who tries to call exchange.ticker without a real OAuth token.

Reproduction

$ curl -sS -o /dev/null -w "HTTP %{http_code}\n" \
    "https://api.cryptohopper.com/v1/exchange/ticker?exchange=binance&market=BTC/USDT"
HTTP 405

$ curl -sS \
    "https://api.cryptohopper.com/v1/exchange/ticker?exchange=binance&market=BTC/USDT"
{"status":400,"error":1,"message":"Missing Authentication Token"}

405 + "Missing Authentication Token" is the AWS API Gateway boilerplate response when no valid auth is provided to a route gated by an authorizer. The Cryptohopper application never sees the request — the gateway rejects it first.

With a placeholder Authorization: Bearer xxx...xxx, the gateway falls through to AWS SigV4 parsing and returns:

{"status":400,"error":1,"message":"Invalid key=value pair (missing equal-sign) in Authorization header (hashed with SHA-256 and encoded with Base64): 'A1uOw8utuISJ8z773lvbGk9w/aFfOrmJz9/ParLb8YU='."}

That's a definitive signal the gateway expects a token mapped to AWS IAM, not a stand-alone bearer.

Endpoints I documented as "public" that don't actually work

Endpoint Documented as Actual behaviour
/exchange/ticker public 405 without token
/exchange/markets public 405 without token
/exchange/exchanges public 405 without token
/exchange/candle public 405 without token
/exchange/orderbook public 405 without token
/exchange/forex-rates public 405 without token
/market/homepage public "Missing required request parameters: [access-token]"
/market/items public likely same
/market/signals public likely same
/tournaments/active public likely same
/platform/* public likely same

Where the wrong claim has shipped

This is the painful part. The wrong "public, no auth" claim is in:

  1. Every SDK README — installed by anyone running pip install cryptohopper, npm i @cryptohopper/sdk, etc.
  2. Every SDK wiki — Recipes.md has "public ticker" snippets that won't run; Comparison.md (which I just rolled out to all 9 wikis in iter 50 + 51) has a public-endpoint anonymity note.
  3. CLI README — claims cryptohopper ticker binance BTC/USDT works without auth.
  4. Pending PR Add docs/sdks.md — public overview of the SDK suite #3 (docs/sdks.md) — likely mentions it.
  5. Pending PR Add Developer SDKs and CLI section to main README #5 (main README SDK section) — fine, doesn't make this claim.
  6. Node SDK examples folder (PR Enable CodeQL on 6 SDK repos (default-setup, no workflow file needed) #8) — public-ticker.ts claims to need no token. Won't actually work.

Why this slipped through

  • SDK CI uses mocks (vitest/pytest-httpx/wiremock/MockClient/etc.) for transport tests. Unit tests passed with green.
  • The original plan (reference) wrote down "public endpoints accept anonymous calls" based on the swagger 2.0 file in public_html/CryptohopperAPI_1.0.0_swagger.json — the swagger doesn't model the AWS gateway authorizer that actually fronts production.
  • No SDK or CLI release has been smoke-tested end-to-end against the live API.

What needs to happen

1. Stop the bleed

Remove the "public, no auth" claim from:

I can put up a sweep PR per repo if you signal go. Wiki side is direct push (no PR queue impact).

2. Confirm what (if anything) is actually anonymous

Worth asking the API team directly: are there ANY paths on api.cryptohopper.com/v1/* that are gateway-public? If yes, list them; if no, the SDKs should be honest about it.

3. Add a real e2e smoke test to the suite

Even a single integration test per SDK that makes ONE authenticated call against the live API (using a CI-stored test token) would have caught this in seconds. Worth adding to the release workflow.

My current recommendation

Treat this as a doc bug, not a code bug. The SDK transport is correct (sends Authorization: Bearer <token> like the docs say). The only thing broken is the claim that some endpoints can be hit without that token.

Easiest path:

  1. Now: I push wiki updates (no PR) striking the "public, no auth" claim from every Recipes + Comparison page. ~9 commits, no review.
  2. PR pass per SDK: small PR to each SDK README + Recipes page corrections. (Adds to queue but they're 1-3 line edits each.)
  3. Decision before next release: do we want any actual anonymous endpoints? If yes, the API team needs to configure the gateway accordingly. If no, every SDK example needs a real token.

Going to wait for your signal before sweeping. Wanted to surface this fast.

Activity

  1. pimfeltkamp commented on Apr 27, 2026

    @pimfeltkamp
    ContributorAuthor

    Wiki sweep done (no PR needed — direct push)

    Decided to push the wiki side without waiting for review since the docs were actively misleading anyone reading them right now, and wiki pushes are reversible if I got the framing wrong.

    What I changed

    Across 9 wikis, removed every "public, no auth needed" / "anonymous call" / "pass an empty string" claim and replaced with accurate language about the gateway requirement. Specifically:

    Wiki Files modified Lines changed
    node-wiki Authentication, Comparison, Getting-Started +6 / -8
    python-sdk-wiki Authentication, Comparison, Getting-Started +8 / -20
    go-sdk-wiki Authentication, Comparison, Getting-Started +8 / -23
    ruby-sdk-wiki Authentication, Comparison, Getting-Started +8 / -20
    rust-sdk-wiki Authentication, Comparison, Getting-Started +8 / -20
    php-sdk-wiki Authentication, Comparison, Getting-Started +8 / -20
    dart-sdk-wiki Authentication, Comparison, Getting-Started +8 / -20
    swift-sdk-wiki Authentication, Comparison +5 / -7
    cli-wiki Comparison, Recipes +6 / -8

    Replacement text everywhere reads roughly: "The AWS API Gateway in front of the production API rejects every call without a valid OAuth bearer token (returns 405 Missing Authentication Token). This holds even on routes conceptually treated as 'public market data' like /exchange/ticker and /market/homepage. Practical result: pass a real token to every SDK call."

    What's still not done (waiting for your call)

    Verification

    After the sweep:

    $ grep -rn "no auth needed\|public endpoint\|anonymous call" *-wiki/*.md | head
    (no matches)
    

    Net diff across the 9 commits: +65 / -126 = -61 lines, plus the framing now matches reality. PR queue unchanged at 13.

  2. pimfeltkamp commented on Apr 27, 2026

    @pimfeltkamp
    ContributorAuthor

    Critical fix shipped — all 9 fronts

    Confirmed root cause: SDKs send Authorization: Bearer <token> but the v1 API gateway expects access-token: <token>. Confirmed via the official API docs ("access-token - Your access token received with the Oauth2 authentication") and the legacy iOS/Android SDKs (which correctly send access-token for v1 calls and only Authorization: Bearer for the V2 admin API).

    Eight SDK PRs (transport + tests + version bump + CHANGELOG)

    SDK PR New version
    Node #9 0.4.0-alpha.2
    Python #4 0.4.0a2
    Go #4 v0.4.0-alpha.2
    Ruby #3 0.1.0.pre.alpha.2
    Rust #7 0.1.0-alpha.2
    PHP #6 0.1.0-alpha.2
    Dart #4 0.1.0-alpha.2
    Swift #2 0.1.0-alpha.2

    Each PR is a single header-name change in the transport file, an updated unit-test assertion (verified against locally-installed source where I had a working environment — Node npm test 67/67 ✓, Python pytest 60/60 ✓), version bump in the language's manifest + version constant, and a CHANGELOG entry under "Fixed" with the full root-cause writeup. Zero public-API change in any SDK; only the wire-level header changes.

    Resources docs PR

    #10 — fixes docs/api/authentication.md and docs/api/getting-started.md to describe the actual header. Also adds a clarifying note about the v1-vs-V2 split.

    Wiki sweep (no PRs, direct push)

    7 SDK wiki Authentication.md pages updated. Swift wiki was already correct from the iter-53 sweep. CLI wiki doesn't have an Authentication.md. Net: 7 commits, 7 files, 7-line diff.

    What's still open

    • 9 SDK READMEs — describe the OAuth2 flow but don't show the actual header line on a request. Lower urgency since the SDKs (which are what users actually copy from) are now correct via the PRs above. Will follow up once the SDK PRs land.
    • CLI 0.6.0-alpha.1 — uses @cryptohopper/sdk@^0.4.0-alpha.1. Once Node SDK 0.4.0-alpha.2 ships, the CLI should bump its dep and release 0.6.0-alpha.2 to pick up the fix.
    • e2e CI smoke test — the right long-term prevention. Worth a separate issue.

    Recommended merge order

    1. Each SDK PR independently (they don't depend on each other or on resources Fix auth header in API docs (access-token, not Authorization: Bearer) #10).
    2. Tag-and-release each SDK at its new patch version. Patch releases will reach existing installs through the package-manager updates the SDKs configure (Dependabot / npm install @cryptohopper/sdk@latest / etc.).
    3. Resources Fix auth header in API docs (access-token, not Authorization: Bearer) #10 lands whenever convenient.
    4. CLI bump-and-release after Node SDK is on npm.

    Reachable by reading the issue's recommendation list — every item now has a PR or a wiki commit attached. Closing this would be premature; leaving open until the SDK PRs land and the patch releases ship.

  3. pimfeltkamp commented on Aug 10, 2026

    @pimfeltkamp
    ContributorAuthor

    Verdict: real — the "public / no auth" claim is present in this repo's OpenAPI spec and is wrong for /exchange/*, /market/*, /tournaments/active and /subscription/plans, confirmed by live anonymous requests. It is not wrong for /platform/*, which genuinely does serve anonymous traffic — the report's blanket "none of them work" framing overshoots.

    Evidence

    In this clone

    Claim Status
    "public, no auth" claim exists in this repo FOUND — openapi/cryptohopper.yaml carries 24 security: [] overrides on branch origin/openapi-spec (identical copy on origin/add-sdk-suite-to-readme; git diff origin/openapi-spec origin/add-sdk-suite-to-readme -- openapi/ is empty)
    /exchange/ticker documented public FOUND — openapi/cryptohopper.yaml:267 (security: []), under the # ─── Exchange (public) ─── block starting line 262; siblings at lines 278, 292, 303, 313, 323, 331 (/exchange/forex-rates at 327)
    /market/homepage, /market/items, /market/signals documented public FOUND — openapi/cryptohopper.yaml:437, :427, :417
    /tournaments/active documented public FOUND — openapi/cryptohopper.yaml:828
    /platform/* documented public FOUND — openapi/cryptohopper.yaml:605-620 (# ─── Platform (all public) ───)
    Prose stating the exemption FOUND — openapi/README.md:29: "Every request (except endpoints explicitly marked security: [] in the spec) requires a bearer token"
    docs/sdks.md (branch add-sdks-doc) contains the claim ABSENT — grepped for anonym, no auth, without a token, unauthenticated, no token: no matches. Line 3 states OAuth2 bearer auth for every call. Its "18 public API domains" is domain naming, not an auth claim
    docs/cli.md (branch add-cli-doc) contains the claim ABSENT (already amended) — line 88 now reads that the data is "public" but "the API itself still requires authentication on every call — the gateway has no anonymous routes today". See the correction note below
    Main-branch docs contain the claim ABSENT — grepped docs/, integrations/, README.md, llms.txt on main for no auth, public endpoint, anonymous, without a token, no token: no matches. docs/api/authentication.md and docs/api/getting-started.md document bearer auth unconditionally
    SDK repos, SDK/CLI wikis, public_html/CryptohopperAPI_1.0.0_swagger.json, Node SDK public-ticker.ts NOT-SEARCHED — not part of this repository; cannot be assessed from this clone

    Live reproduction (anonymous GET, run during triage):

    /exchange/ticker?exchange=binance&market=BTC/USDT  405  Missing Authentication Token
    /exchange/markets?exchange=binance                 405  Missing Authentication Token
    /exchange/exchanges                                405  Missing Authentication Token
    /market/items                                      405  Missing Authentication Token
    /market/homepage                                   405  Missing required request parameters: [access-token]
    /market/signals                                    405  Missing required request parameters: [access-token]
    /tournaments/active                                405  Missing required request parameters: [access-token]
    /subscription/plans                                405  Missing required request parameters: [access-token]
    /platform/languages                                200  full language payload
    /platform/promobar                                 200  full promo payload
    

    Correction to the report

    /platform/* is not "likely same" — it is genuinely anonymous. Two of its routes returned 200 with real data on an unauthenticated request. So the spec's security: [] at openapi/cryptohopper.yaml:605-620 is correct as written, and the replacement wording already merged into docs/cli.md:88 on add-cli-doc ("the gateway has no anonymous routes today") is itself inaccurate and would need a second pass. /subscription/plans (openapi/cryptohopper.yaml:660) is affected but is not listed in the issue.

    The right fix is per-endpoint, not a blanket sweep in either direction: each of the 24 security: [] entries needs an actual anonymous probe before it is kept or removed.

    Severity: medium

    Docs/contract only, no code path in this repo. Impact is bounded here because main is clean — the wrong claim lives only on unmerged branches. It matters because openapi/README.md:3 describes the spec as the hand-maintained contract behind the SDK packages, so a wrong security: [] propagates into generated clients and examples.

    Difficulty: medium

    The edit itself is trivial; arriving at a correct result is not. A fix would need to empirically classify all 24 security: [] entries, revert the over-broad "no anonymous routes" wording, and ideally add a check that keeps the spec honest — the blanket claim in this report is already demonstrably wrong in one direction, and a blanket removal would be wrong in the other.

    Files a fix would touch: openapi/cryptohopper.yaml, openapi/README.md (both on openapi-spec / add-sdk-suite-to-readme), and docs/cli.md:88 (on add-cli-doc).

    A maintainer can add the ai-fix-approved label to let the AI open a fix PR for review.

  4. added
    ai-triaged
    ai-verdict:real
    ai-severity:medium
    ai-difficulty:medium
    on Aug 10, 2026
  5. pimfeltkamp commented on Nov 10, 2026

    @pimfeltkamp
    ContributorAuthor

    Verdict: real. This repo's OpenAPI spec marks endpoints as public (security: []), and anonymous live requests confirm that is wrong for /exchange/*, /market/* and /tournaments/active. It is not wrong for /platform/*, which does serve anonymous requests, so the report's "none of them work" goes too far.

    Evidence

    In this clone

    Claim Status
    A "public, no auth" claim exists in this repo FOUND: 24 security: [] overrides in openapi/cryptohopper.yaml on branches origin/openapi-spec and origin/add-sdk-suite-to-readme (same line numbers on both)
    /exchange/* (ticker, markets, exchanges, candle, orderbook, forex-rates) documented as public FOUND: section header # ─── Exchange (public) ─── at openapi/cryptohopper.yaml:262; security: [] at lines 267, 278, 292, 303, 313, 323, 331
    /market/signals, /market/items, /market/homepage documented as public FOUND: header at openapi/cryptohopper.yaml:415; lines 417, 427, 437 (plus 422, 432)
    /tournaments/active documented as public FOUND: openapi/cryptohopper.yaml:828
    /platform/* documented as public FOUND: header # ─── Platform (all public) ─── at openapi/cryptohopper.yaml:604; lines 605-620
    Prose describing the exemption FOUND: openapi/README.md:29 ("except endpoints explicitly marked security: []") on both branches
    docs/cli.md (PR #4, branch add-cli-doc) FOUND, already amended, but in the wrong direction: docs/cli.md:88 now says "the gateway has no anonymous routes today", which the /platform/languages probe below contradicts. The same line is on add-sdk-suite-to-readme.
    docs/sdks.md (PR #3, branch add-sdks-doc) ABSENT: git grep for security: [], no auth, anonymous, without a token found nothing on that branch
    Claim on main ABSENT: the same searches over docs/, integrations/, README.md and llms.txt on main found nothing
    SDK READMEs, SDK/CLI wikis, Node SDK public-ticker.ts, public_html/CryptohopperAPI_1.0.0_swagger.json NOT-SEARCHED: these are not in this repository

    Live anonymous GET requests made during this triage

    /v1/exchange/ticker?exchange=binance&market=BTC/USDT  405  Missing Authentication Token
    /v1/market/homepage                                   405  Missing required request parameters: [access-token]
    /v1/tournaments/active                                405  Missing required request parameters: [access-token]
    /v1/platform/languages                                200  (2784-byte payload)
    

    Notes

    • /platform/* is genuinely anonymous, at least /platform/languages. So security: [] at openapi/cryptohopper.yaml:605-620 may be correct, and the blanket wording in docs/cli.md:88 is itself wrong. Each of the 24 overrides needs its own anonymous probe before it is kept or removed. A blanket removal would be as wrong as a blanket claim.
    • /subscription/plans (openapi/cryptohopper.yaml:660) is also marked security: [] but is not in the issue's table. It was not probed in this run.
    • Related but separate: the access-token error message supports the follow-up comment's point about the header name. main still documents Authorization: Bearer at docs/api/getting-started.md:36,44 and docs/api/authentication.md:82. That is a separate concern from the public-endpoint claim.

    Severity: medium

    This is a docs/contract problem, and main is clean: the wrong claim exists only on unmerged branches. It still matters because the spec is the contract that SDK clients and examples are built from.

    Difficulty: medium

    Each edit is trivial. Getting the result right means probing every security: [] route against the live gateway and correcting the over-broad "no anonymous routes" wording.

    Files a fix would touch: openapi/cryptohopper.yaml and openapi/README.md (branches openapi-spec and add-sdk-suite-to-readme), and docs/cli.md (branches add-cli-doc and add-sdk-suite-to-readme). The repo has no translation or locale files, so there are none to update.

    A maintainer can add the ai-fix-approved label to let the AI open a fix PR for review.

  6. added
    ai-verdict:real
    ai-severity:medium
    ai-difficulty:medium
    and removed
    ai-verdict:real
    ai-severity:medium
    ai-difficulty:medium
    on Nov 10, 2026
  7. pimfeltkamp commented on Nov 10, 2026

    @pimfeltkamp
    ContributorAuthor

    Verdict: real. The "public, no auth" claim is now on main: PRs #1, #3, #4 and #5 have all been merged since the earlier triage runs. In openapi/cryptohopper.yaml it is wrong for /exchange/*, /market/*, /tournaments/active and /subscription/plans, and anonymous live requests made today confirm that. It is not wrong for /platform/languages, which still answers anonymous requests. So the report goes too far when it says "none of them work".

    Evidence (in this clone, branch origin/main at c5ecc79)

    Claim Status
    Endpoints marked public in this repo FOUND: 24 security: [] overrides in openapi/cryptohopper.yaml
    /exchange/ticker, candle, orderbook, markets, currencies, exchanges, forex-rates FOUND: section header # ─── Exchange (public) ─── at openapi/cryptohopper.yaml:262; overrides at lines 267, 278, 292, 303, 313, 323, 331
    /market/signals, /market/items, /market/homepage FOUND: header at openapi/cryptohopper.yaml:415; overrides at lines 417, 422, 427, 432, 437. The spec path is /market/marketitems (line 426), not /market/items as the issue says
    /tournaments/active FOUND: openapi/cryptohopper.yaml:828
    /platform/* FOUND: header # ─── Platform (all public) ─── at openapi/cryptohopper.yaml:604; overrides at lines 605-620
    Not listed in the issue but also marked public FOUND: /chart/share-get (openapi/cryptohopper.yaml:646) and /subscription/plans (:660)
    Prose that states the exemption FOUND: openapi/README.md:29 ("except endpoints explicitly marked security: []")
    PR #4, docs/cli.md FOUND, but amended too far in the other direction: docs/cli.md:88 now says "the gateway has no anonymous routes today", and the /platform/languages probe below contradicts that. docs/cli.md:139 still labels subscription plans as # Public, which the probe also contradicts
    PR #3, docs/sdks.md ABSENT: no public or anonymous claim. docs/sdks.md:3 says every SDK uses token auth
    Other docs on main ABSENT: git grep for no auth, anonymous, without a token, unauthenticated over docs/, README.md and llms.txt found only the docs/cli.md lines above
    SDK READMEs, SDK and CLI wikis, Node SDK public-ticker.ts, public_html/CryptohopperAPI_1.0.0_swagger.json NOT-SEARCHED: these are not in this repository

    Anonymous GET requests made during this triage

    /v1/exchange/ticker?exchange=binance&market=BTC/USDT  405  Missing Authentication Token
    /v1/exchange/exchanges                                405  Missing Authentication Token
    /v1/market/marketitems                                405  Missing Authentication Token
    /v1/market/homepage                                   405  Missing required request parameters: [access-token]
    /v1/tournaments/active                                405  Missing required request parameters: [access-token]
    /v1/subscription/plans                                405  Missing required request parameters: [access-token]
    /v1/platform/languages                                200  (2784 bytes)
    

    Not probed: /exchange/candle, orderbook, markets, currencies, forex-rates, /market/signals, /market/signal, /market/marketitem, /chart/share-get, and the other 8 /platform/* routes.

    Related issue on main

    openapi/cryptohopper.yaml:932-936 (BearerAuth, scheme: bearer) and openapi/README.md:29-32 (Authorization: Bearer <token>) contradict docs/api/authentication.md:85 on the same branch, which says v1 uses the access-token header. The gateway errors above also ask for access-token. This is a separate concern from the public-endpoint claim, but a fix would touch the same two files.

    Severity: medium

    This is a documentation and contract error, not a code bug, but it is now on the default branch. openapi/README.md presents the spec as the contract behind the SDKs and as a source for generated clients. A client generated from the spec would send no credentials to the 405 routes above.

    Difficulty: medium

    Each edit is small. Getting it right means probing every one of the 24 overrides anonymously before keeping or removing it, because a blanket removal would be as wrong as the blanket claim (/platform/languages really is anonymous). It also means correcting the over-broad wording in docs/cli.md.

    Files a fix would touch: openapi/cryptohopper.yaml, openapi/README.md, docs/cli.md (lines 88 and 139). The repository has no translation or locale files, so there are none to update.

    A maintainer can add the ai-fix-approved label to let the AI open a fix PR for review.

  8. 5 remaining items

  9. added
    ai-difficulty:medium
    on Nov 10, 2026
  10. pimfeltkamp commented on Nov 10, 2026

    @pimfeltkamp
    ContributorAuthor

    Verdict: real. On main, openapi/cryptohopper.yaml marks 24 operations as public (security: []). Anonymous live requests made today confirm that is wrong for /exchange/*, /market/*, /tournaments/active, /subscription/plans and at least one /platform/* route. It is not wrong for every route: three /platform/* routes do answer anonymous requests. So the report goes too far when it says "none of them work", and the earlier triage note that "/platform/* is anonymous" was also too broad.

    Evidence (this clone, origin/main at c5ecc79)

    Claim Status
    Endpoints documented as public in this repo FOUND: 24 security: [] overrides in openapi/cryptohopper.yaml
    /exchange/* (ticker, candle, orderbook, markets, exchanges, forex-rates, ...) FOUND: header # ─── Exchange (public) ─── at openapi/cryptohopper.yaml:262; overrides at lines 267, 278, 292, 303, 313, 323, 331
    /market/signals, /market/items, /market/homepage FOUND: header # ─── Market (public) ─── at openapi/cryptohopper.yaml:415; overrides at lines 417, 422, 427, 432, 437; tag description at line 56
    /tournaments/active FOUND: openapi/cryptohopper.yaml:828
    /platform/* FOUND: header # ─── Platform (all public) ─── at openapi/cryptohopper.yaml:604; overrides at lines 605-620; tag description at line 68
    Not in the issue but also marked public FOUND: openapi/cryptohopper.yaml:646 (chart share) and :660 (/subscription/plans)
    Prose stating the exemption FOUND: openapi/README.md:29 ("except endpoints explicitly marked security: []")
    CLI doc (PR #4) FOUND: docs/cli.md:88 now says "the gateway has no anonymous routes today", which the /platform/languages, /platform/promobar and /platform/bottypes probes below contradict. docs/cli.md:139 labels subscription plans as # Public, which the /subscription/plans probe contradicts
    docs/sdks.md (PR #3) and other docs on main ABSENT: git grep -i for no auth, anonymous, without a token, unauthenticated, # Public and security: [] over docs/, README.md, llms.txt and openapi/README.md on origin/main found only the lines above
    SDK READMEs, SDK and CLI wikis, Node SDK public-ticker.ts, public_html/CryptohopperAPI_1.0.0_swagger.json NOT-SEARCHED: not in this repository

    Anonymous GET requests made during this triage

    /v1/exchange/ticker?exchange=binance&market=BTC/USDT  405  Missing Authentication Token
    /v1/market/homepage                                   405  Missing required request parameters: [access-token]
    /v1/subscription/plans                                405  Missing required request parameters: [access-token]
    /v1/platform/countries                                405  Missing required request parameters: [access-token]
    /v1/platform/languages                                200  (2784 bytes)
    /v1/platform/promobar                                 200  (410 bytes)
    /v1/platform/bottypes                                 200  (239 bytes)
    

    Not probed in this run: the remaining /exchange/* and /market/* routes, /tournaments/active, the chart share route, and the other /platform/* routes.

    Severity: medium

    This is a documentation and contract error on the default branch, not a code bug. openapi/README.md presents the spec as the contract behind the SDKs, so a client generated from it would send no credentials to routes that reject anonymous calls.

    Difficulty: medium

    Each edit is small. A correct result needs an anonymous probe of each of the 24 overrides before it is kept or removed, because /platform/* is mixed: some routes are anonymous and some are not. Removing every override would be as wrong as the current spec.

    Files a fix would touch: openapi/cryptohopper.yaml (overrides, section headers at 262/415/604, tag descriptions at 56/68), openapi/README.md, docs/cli.md (lines 88 and 139). The repository has no translation or locale files, so there are none to update.

    A maintainer can add the ai-fix-approved label to let the AI open a fix PR for review.

  11. added
    ai-verdict:real
    ai-severity:medium
    ai-difficulty:medium
    and removed
    ai-verdict:real
    ai-severity:medium
    ai-difficulty:medium
    on Nov 10, 2026
  12. pimfeltkamp commented on Nov 10, 2026

    @pimfeltkamp
    ContributorAuthor

    Verdict: real. On main (origin/main at c5ecc79), openapi/cryptohopper.yaml marks 24 operations as public with security: []. Anonymous live requests made today show that is wrong for at least /exchange/ticker and /tournaments/active. It is not wrong for every route: /platform/languages still answers anonymous requests. So the report goes too far when it says "none of them work".

    Evidence (origin/main at c5ecc79)

    Claim Status
    /exchange/* documented as public FOUND: header # ─── Exchange (public) ─── at openapi/cryptohopper.yaml:262; security: [] at lines 267, 278, 292, 303, 313, 323, 331
    /market/signals, /market/items, /market/homepage documented as public FOUND: header at openapi/cryptohopper.yaml:415; overrides at lines 417, 422, 427, 432, 437; tag description at line 56
    /tournaments/active documented as public FOUND: openapi/cryptohopper.yaml:828
    /platform/* documented as public FOUND: header # ─── Platform (all public) ─── at openapi/cryptohopper.yaml:604; overrides at lines 605-620; tag description at line 68
    Also marked public but not in the issue FOUND: openapi/cryptohopper.yaml:646 and :660 (/subscription/plans)
    Prose stating the exemption FOUND: openapi/README.md:29
    CLI doc (PR #4) FOUND: docs/cli.md:88 says "the gateway has no anonymous routes today", which the /platform/languages probe below contradicts. docs/cli.md:139 labels subscription plans as # Public
    docs/sdks.md (PR #3) and other docs on main ABSENT: git grep on origin/main for security: [], (public), all public, anonymous, # Public and no auth found only the lines above
    SDK READMEs, SDK and CLI wikis, Node SDK public-ticker.ts, public_html/CryptohopperAPI_1.0.0_swagger.json NOT-SEARCHED: not in this repository

    Anonymous GET requests made during this triage

    /v1/exchange/ticker?exchange=binance&market=BTC/USDT  405  Missing Authentication Token
    /v1/tournaments/active                                405  Missing required request parameters: [access-token]
    /v1/platform/languages                                200  (2784 bytes)
    

    Only these three routes were probed in this run. Earlier triage comments on this issue list further probes.

    Related point

    openapi/README.md:32 and openapi/cryptohopper.yaml:933-940 still describe Authorization: Bearer. On the same branch, docs/api/authentication.md:79-85 says v1 uses the access-token header, and the gateway error above asks for access-token. This is a separate concern from the public-endpoint claim, but a fix would touch the same files.

    Severity: medium

    This is a documentation and contract error on the default branch, not a runtime code bug. openapi/README.md presents the spec as the contract behind the SDKs, so a client generated from it would send no credentials to routes that reject anonymous calls.

    Difficulty: medium

    Each edit is small. A correct result means probing each of the 24 overrides anonymously before keeping or removing it, because /platform/* is mixed: some routes answer anonymously, as /platform/languages does. Removing every override would be as wrong as the current spec.

    Files a fix would touch: openapi/cryptohopper.yaml (overrides, section headers at 262/415/604, tag descriptions at 56/68), openapi/README.md, and docs/cli.md (lines 88 and 139). The repository has no translation or locale files, so there are none to update.

    A maintainer can add the ai-fix-approved label to let the AI open a fix PR for review.

  13. added
    ai-verdict:real
    ai-severity:medium
    ai-difficulty:medium
    and removed
    ai-verdict:real
    ai-severity:medium
    ai-difficulty:medium
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-difficulty:mediumai-severity:mediumai-triagedai-verdict:real

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions