# SocioLogic RNG auth.md

## Audience and registration

AI agents and applications can use this API without an account, registration,
API key, or OAuth access token. There is no agent registration or credential
provisioning endpoint. Provision a wallet locally using your payment client's
wallet tooling; never send private keys or seed phrases to this service.

## Supported methods and credential use

- **x402 v2**: pay USDC on Base mainnet (eip155:8453). Request the desired API
  operation, read the HTTP 402 Payment Required response and PAYMENT-REQUIRED
  header, then use an x402-compatible client to sign the payment authorization
  and retry the same request with PAYMENT-SIGNATURE. Follow the challenge's amount, asset,
  recipient, network and expiry; do not blindly repeat a settled payment.
- **MPP**: when a 402 response advertises a Payment challenge in WWW-Authenticate,
  a compatible MPP client can satisfy its Tempo charge and retry with
  Authorization: Payment <credential>. Use the challenge's currency and amount.
  Availability is determined by the live challenge.

Only authorize payments within the user's approved budget. Standard operations
cost $0.01 per value; extended operations cost $0.02 per value/call. The count
parameter multiplies the price for random floats, UUIDs and coin flips (1–100).

## Public access

Documentation, discovery metadata, /health, and the read-only /mcp documentation
server are free. Randomness endpoints require payment for every request.
An OAuth bearer token does not authorize a paid operation.

## OAuth applicability

OAuth/OIDC is not implemented or required. This service has no OAuth issuer,
authorization endpoint, token endpoint, signing keys, or OAuth scopes. OAuth
authorization-server and protected-resource discovery checks are not applicable
to the x402/MPP access model. No OAuth metadata is advertised.

## Resources

- [Payment manifest](https://rng.sociologic.ai/.well-known/x402.json)
- [OpenAPI and pricing](https://rng.sociologic.ai/openapi.json)
- [Full API documentation](https://rng.sociologic.ai/llms-full.txt)
- [Agent skill](https://rng.sociologic.ai/.well-known/agent-skills/sociologic-rng/SKILL.md)
