x402basequality 0.45

Purchase CodeNut platform credits via x402 — pay $1 USDC on Base, receive 100x worth of credits.

Price
1.00 USDC / call
Protocol
x402
Verified
no

What it does

CodeNut Credit Drop is an x402-enabled endpoint that lets AI agents or developers purchase CodeNut platform credits by paying USDC on the Base network. The endpoint at `https://pay.codenut.ai/credit-drop` accepts a single GET request with an X-PAYMENT header containing a signed x402 payment. The cost is 1 USDC (maxAmountRequired of 1,000,000 in 6-decimal USDC units), and the listing advertises receiving "100x worth of CodeNut credits" in return.

The payment flow uses the x402 protocol (version 1) with the "exact" scheme on Base mainnet. The facilitator infrastructure is hosted at `https://facilitator.codenut.ai/` and supports both Base (USDC) and XLayer (USDT0) networks. Upon successful payment, the endpoint returns a JSON object containing an `amount` field (number) representing the credits granted.

Documentation beyond the landing page is sparse — the `/docs`, `/api`, `/pricing`, and `/README` paths all return 404. The external docs link at `docs.codenut.ai` was not crawled. It is unclear what "CodeNut credits" can be used for, how they map to platform features, or whether there are expiration or usage constraints. The endpoint is live and returns a valid 402 challenge, but prospective buyers should verify the credit redemption process independently.

Capabilities

x402-paymentusdc-basecredit-purchasejson-responseexact-scheme

Use cases

  • AI agents autonomously purchasing platform credits to access CodeNut services
  • Developers topping up CodeNut credits programmatically via x402
  • Automated workflows that need CodeNut credits without manual intervention

Fit

Best for

  • AI agents that need to self-fund CodeNut platform usage
  • Developers integrating x402 payment flows on Base
  • Automated pipelines requiring on-demand credit provisioning

Not for

  • Users looking for a traditional fiat payment method for credits
  • Anyone needing detailed documentation or SLA guarantees before purchasing
  • Use cases unrelated to the CodeNut platform

Quick start

import { createPaymentHeader } from 'x402/client';

// After setting up walletClient on Base...
const res = await fetch('https://pay.codenut.ai/credit-drop');
const { accepts } = (await res.json());
const paymentHeader = await createPaymentHeader(walletClient, 1, accepts[0]);
const result = await fetch('https://pay.codenut.ai/credit-drop', {
  headers: { 'X-PAYMENT': paymentHeader }
});
console.log(await result.json()); // { amount: ... }

Example

Response

{
  "amount": 100
}

Endpoint

Transporthttp
Protocolx402
Pay to0x8d8Fa42584a727488eeb0E29405AD794a105bb9b
CurrencyUSD COIN

Quality

0.45/ 1.00

The endpoint is live with a valid 402 challenge and a defined output schema, but documentation is extremely sparse — all doc/pricing/API paths return 404. The nature and utility of "CodeNut credits" is not explained in the crawled material, and the 100x claim is unverifiable. Schema is present but minimal.

Warnings

  • No documentation available at /docs, /api, /pricing, or /README — all return 404
  • The meaning and utility of 'CodeNut credits' is not explained in any crawled content
  • The '100x worth' claim cannot be independently verified from available material
  • External docs at docs.codenut.ai were not crawled and may contain additional information

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-18 19:25:10Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-18
Last seen2026-04-25

Agent access