{
  "name": "Machine Works testnet",
  "version": "1",
  "x402Version": 2,
  "environment": "testnet",
  "mainnetSpendEnabled": false,
  "description": "Base Sepolia testnet only. One bounded public URL evidence packet: title, metadata, JSON-LD, text extract, links, timestamp and SHA-256. No JavaScript rendering, credentials or private-network access. 0.005 test USDC; no real revenue.",
  "openapi": "https://machine-works-testnet.weathered-dew-46b4.workers.dev/openapi.json",
  "resources": [
    {
      "resource": "https://machine-works-testnet.weathered-dew-46b4.workers.dev/testnet/mnra/url-evidence-pack",
      "url": "https://machine-works-testnet.weathered-dew-46b4.workers.dev/testnet/mnra/url-evidence-pack",
      "method": "POST",
      "name": "MNRA-0002 URL Evidence Pack",
      "description": "Base Sepolia testnet only. One bounded public URL evidence packet: title, metadata, JSON-LD, text extract, links, timestamp and SHA-256. No JavaScript rendering, credentials or private-network access. 0.005 test USDC; no real revenue.",
      "mimeType": "application/json",
      "price": "0.005",
      "priceCurrency": "test USDC",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:84532",
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "amount": "5000",
          "payTo": "0x88f7b1c3a02f45b61e39615d63b359e326e0f33b",
          "maxTimeoutSeconds": 60,
          "extra": {
            "name": "USDC",
            "version": "2"
          }
        }
      ],
      "extensions": {
        "bazaar": {
          "info": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "body": {
                "url": "https://example.com"
              }
            },
            "output": {
              "type": "json",
              "example": {
                "requestedUrl": "https://example.com",
                "finalUrl": "https://example.com/",
                "status": 200,
                "fetchedAt": "2026-10-01T20:28:26.000Z",
                "contentType": "text/html",
                "title": "Example Domain",
                "metaDescription": null,
                "canonical": null,
                "openGraph": {
                  "title": null,
                  "description": null,
                  "type": null,
                  "url": null
                },
                "structuredData": {
                  "jsonLd": [],
                  "jsonLdCount": 0
                },
                "extract": "Example Domain",
                "outboundLinks": [],
                "contentHashSha256": "0000000000000000000000000000000000000000000000000000000000000000",
                "responseHeaders": {
                  "etag": null,
                  "lastModified": null,
                  "cacheControl": null
                }
              }
            }
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object",
            "properties": {
              "input": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "http"
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "POST",
                      "PUT",
                      "PATCH"
                    ]
                  },
                  "bodyType": {
                    "type": "string",
                    "enum": [
                      "json",
                      "form-data",
                      "text"
                    ]
                  },
                  "body": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "url"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "minLength": 8,
                        "maxLength": 2000,
                        "description": "Public HTTP(S) URL. Runtime rejects IP literals, private/link-local networks, credentials and disallowed ports; every redirect is revalidated."
                      }
                    }
                  }
                },
                "required": [
                  "type",
                  "method",
                  "bodyType",
                  "body"
                ],
                "additionalProperties": false
              },
              "output": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "example": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "requestedUrl",
                      "finalUrl",
                      "status",
                      "fetchedAt",
                      "contentType",
                      "title",
                      "metaDescription",
                      "canonical",
                      "openGraph",
                      "structuredData",
                      "extract",
                      "outboundLinks",
                      "contentHashSha256",
                      "responseHeaders"
                    ],
                    "properties": {
                      "requestedUrl": {
                        "type": "string"
                      },
                      "finalUrl": {
                        "type": "string"
                      },
                      "status": {
                        "type": "integer"
                      },
                      "fetchedAt": {
                        "type": "string"
                      },
                      "contentType": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "metaDescription": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "canonical": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "openGraph": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "title",
                          "description",
                          "type",
                          "url"
                        ],
                        "properties": {
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "description": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "type": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      },
                      "structuredData": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "jsonLd",
                          "jsonLdCount"
                        ],
                        "properties": {
                          "jsonLd": {
                            "type": "array",
                            "maxItems": 5,
                            "items": {}
                          },
                          "jsonLdCount": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 5
                          }
                        }
                      },
                      "extract": {
                        "type": "string",
                        "maxLength": 12000
                      },
                      "outboundLinks": {
                        "type": "array",
                        "maxItems": 50,
                        "items": {
                          "type": "string"
                        }
                      },
                      "contentHashSha256": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      "responseHeaders": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "etag",
                          "lastModified",
                          "cacheControl"
                        ],
                        "properties": {
                          "etag": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "lastModified": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "cacheControl": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    }
                  }
                },
                "required": [
                  "type"
                ]
              }
            },
            "required": [
              "input"
            ]
          }
        }
      }
    }
  ]
}