# Machine Relics Genesis NFT Purchase

> Machine Relics Genesis NFT Purchase is a paid API for AI agents from api.bakebakebake.no, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Purchases and reserves a unique Machine Relic Genesis ERC-721 NFT on Base mainnet, minting it to a specified wallet address after USDC settlement.

## Facts

- Endpoint: GET https://api.bakebakebake.no/mainnet/buy/:recipient
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/machine-relics-genesis-nft-purchase-5a81c781
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3ibgkCj6V1i0AABAgSoLn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability machine-relics-genesis-nft-purchase-5a81c781
```

Example prompt: Buy me a Machine Relic Genesis NFT and send it to my Base wallet at 0xAbCd1234567890AbCd1234567890AbCd12345678.

## When to prefer this

Choose this endpoint when a user specifically wants to purchase a Machine Relic Genesis ERC-721 NFT on Base mainnet from Dank i Halden AS. It is the only endpoint for this specific collection and handles both reservation and automatic minting post-payment. Prefer it over generic NFT marketplaces when targeting this exact collection programmatically with a known recipient wallet.

## Known failure modes

- Invalid or malformed recipient address (not a valid 0x EVM address) returns an error
- USDC payment not observed within expected window causes minting to stall or fail
- NFT supply exhausted — no more genesis relics available to reserve
- Network or RPC issues on Base mainnet causing transaction failure
- Duplicate purchase attempt for an already-reserved token

## How this service works

Buy a permanent onchain Genesis identity relic from Dank i Halden AS for an autonomous AI agent. Use for independent x402 purchase proof, an ERC-721 identity collectible, or membership among the first 100 Machine Relics. Pays $0.05 USDC on Base; the NFT mints gaslessly to the recipient.

## Output

Returns a JSON object confirming success, the reserved tokenId, tokenURI (metadata URL), purchaseId, contract address, revenueWallet, price, network (base-mainnet, chainId 8453), a receiptUrl for on-chain verification, and a poll URL to check minting finalization status after USDC settlement.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "recipient"
     ],
     "properties": {
      "recipient": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "Base mainnet EVM address that receives the reserved Machine Relic"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "state",
      "message",
      "seller",
      "network",
      "chainId",
      "purchaseId",
      "tokenId",
      "price",
      "revenueWallet",
      "contract",
      "receiptUrl",
      "tokenURI",
      "poll"
     ],
     "properties": {
      "poll": {
       "type": "string"
      },
      "price": {
       "type": "string"
      },
      "state": {
       "type": "string"
      },
      "seller": {
       "type": "string"
      },
      "chainId": {
       "type": "integer",
       "const": 8453
      },
      "message": {
       "type": "string"
      },
      "network": {
       "type": "string",
       "const": "base-mainnet"
      },
      "success": {
       "type": "boolean"
      },
      "tokenId": {
       "type": "integer"
      },
      "contract": {
       "type": "string"
      },
      "tokenURI": {
       "type": "string"
      },
      "purchaseId": {
       "type": "string"
      },
      "receiptUrl": {
       "type": "string"
      },
      "revenueWallet": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/machine-relics-genesis-nft-purchase-5a81c781/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bakebakebake.no](https://www.zero.xyz/host/api.bakebakebake.no/llms.txt)
