Skip to content

GoldBean API (goldbean-api.xyz) — 120 endpoints fail batchTest after successful discovery #923

@wuzenghai616-lang

Description

@wuzenghai616-lang

Summary

GoldBean API (https://goldbean-api.xyz) is a comprehensive pay-per-call API marketplace on Base chain with 120 x402-enabled endpoints. The discovery check succeeds (checkDiscovery returns ound: true, resourceCount: 120), but all 120 endpoints fail �atchTest with [402] No valid x402 response found.

x402 V2 402 Response

Our 402 response is fully compliant with x402 V2 specification:

`http
HTTP/1.1 402 Payment Required
Payment-Required: eyJzY2hlbWUiOiJleGFjdCIsIm5ldHdvcmsiOiJlaXAxNTU6ODQ1MyIsImFzc2V0IjoiMHg4MzM1ODlmQ0Q2ZURiNkUwOGY0YzdDMzJENGY3MWI1NGJkQTAyOTEzIiwiYW1vdW50Ijo0MDAwMCwicGF5VG8iOiIweDc0ODRiMGJjYTI1ZDJlZTU2ZTliMDUzNTU3MmQ0Y2Y0NGEwNDdkOTgiLCJtYXhUaW1lb3V0U2Vjb25kcyI6MzAwfQ==
Cache-Control: no-store
Content-Length: 2

{}
`

Decoded Payment-Required header:
json {"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":40000,"payTo":"0x7484b0bca25d2ee56e9b0535572d4cf44a047d98","maxTimeoutSeconds":300}

  • ✅ 402 status code
  • ✅ base64-encoded Payment-Required header with correct V2 JSON
  • ✅ amount as integer (atomic units, 40000 = .04 USDC)
  • ✅ Cache-Control: no-store
  • ✅ Clean body: {} (no v1 accepts array)

Discovery endpoints

  • /.well-known/x402 → 200 ✅
  • /openapi.json → complete OpenAPI 3.1 spec ✅
  • /.well-known/x402-bazaar → 200 ✅

Issue

We initially submitted the URL when the 402 format was not fully compliant (had v1-style �ccepts in body, �mount as string). All subsequent re-scans through the web form at x402scan.com/resources/register return the same cached results — still showing 120 errors despite the format being fully corrected now.

Request

Please clear the scan cache for https://goldbean-api.xyz and trigger a fresh batchTest, or advise on how we can force a re-scan. We've verified via direct curl that every /paid/* endpoint returns a valid 402 with correct Payment-Required header.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions