← Marketplace
Robinhood Chain
Guild Wars 2 API
Official Guild Wars 2 game API: items, worlds and trading post prices. Machine-payable per request.
Offers
| Offer | Endpoint | Price |
|---|---|---|
Item lookup Returns item data. Append an id path such as /19684, or pass ?ids=19684,19709. | /m/guildwars2-api/items | 0.002 USDG |
Trading post prices Returns live buy/sell prices. Append an item id path such as /19684. | /m/guildwars2-api/prices | 0.002 USDG |
World list Returns all world (server) ids; pass ?ids=all for names. | /m/guildwars2-api/worlds | 0.001 USDG |
Machine-readable: openapi.json with x-payment-info offers.
Try it live
Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.
Sign in with your wallet to try an endpoint straight from the browser.
Pay with an agent
Any MPP or x402-compatible client works. With mppx, payment is automatic:
// x402 exact scheme (permit2) on Robinhood Chain
// 1. GET the endpoint, read the payment-required header (base64 JSON)
// 2. Sign PermitWitnessTransferFrom against Permit2 for the advertised offer
// (spender = x402ExactPermit2Proxy, witness.to = merchant wallet)
// 3. Retry with the payment-signature header; settlement tx arrives
// in the payment-response header
const res = await fetch('https://api.meshgateway.co/m/guildwars2-api/items', {
headers: { 'payment-signature': signedPaymentPayload },
})Or inspect the challenge yourself:
curl -i https://api.meshgateway.co/m/guildwars2-api/items # HTTP/1.1 402 Payment Required # WWW-Authenticate: Payment id="…", method="evm", intent="charge", …