FETCH402
← Protocol index

Resource / 170

healthy

Unnamed resource.

Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.

Eligibility
probeable
Failures
0
Last quote
2026-08-12 22:00:01 UTC
Last probe
2026-08-12 22:00:01 UTC
Payment requirements / accepts[] 1 options
State Network Scheme Atomic amount Asset payTo / untrusted
active eip155:8453 exact 5000 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b

All advertised payment options are stored. Base (`eip155:8453`) is the operational network for ranking and canaries; non-Base options remain visible for transparency.

Probe evidence 1 recent
healthy 2026-08-12 22:00:01 UTC GET · HTTP 402 · 862ms · accepts 1 · base 1 ok
Request
GET https://api.loyalspark.online/x402-gateway/analytics
Robots
allow
Note
http_402;accepts=1;base=1
Accepts fingerprint
fc7072f587b8031d7f5c6607a5c1b9da72a98339dea6450e3c9552ddf615dc12

Accepts snapshot

[
  {
    "amount": "5000",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "assetTransferMethod": null,
    "extra": {
      "brand": "Loyal Spark",
      "builderCode": "bc_wdmnog7m",
      "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.",
      "documentation": "https://loyalspark.online/for-agents",
      "name": "USD Coin",
      "provider": "Loyal Spark",
      "version": "2",
      "website": "https://loyalspark.online"
    },
    "maxTimeoutSeconds": 300,
    "network": "eip155:8453",
    "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
    "paymentFlow": null,
    "raw": {
      "amount": "5000",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.",
      "extensions": {
        "bazaar": {
          "info": {
            "input": {
              "headers": {
                "x-api-key": "lsk_..."
              },
              "method": "GET",
              "queryParams": {
                "customer_address": "0x0000000000000000000000000000000000000002",
                "token_address": "0x0000000000000000000000000000000000000001"
              },
              "type": "http"
            },
            "inputSchema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {},
              "type": "object"
            },
            "output": {
              "example": {
                "ok": true,
                "resource": "analytics"
              },
              "type": "json"
            }
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "input": {
                "additionalProperties": false,
                "properties": {
                  "headers": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "method": {
                    "enum": [
                      "GET",
                      "HEAD",
                      "DELETE"
                    ],
                    "type": "string"
                  },
                  "queryParams": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "type": {
                    "const": "http",
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "method"
                ],
                "type": "object"
              },
              "inputSchema": {
                "type": "object"
              },
              "output": {
                "properties": {
                  "example": {},
                  "type": {
                    "type": "string"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              }
            },
            "required": [
              "input"
            ],
            "type": "object"
          }
        },
        "builder-code": {
          "info": {
            "a": "bc_wdmnog7m"
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "a": {
                "description": "App builder code",
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "s": {
                "description": "Service builder codes",
                "items": {
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "type": "string"
                },
                "type": "array"
              },
              "w": {
                "description": "Wallet builder code",
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      "extra": {
        "brand": "Loyal Spark",
        "builderCode": "bc_wdmnog7m",
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.",
        "documentation": "https://loyalspark.online/for-agents",
        "name": "USD Coin",
        "provider": "Loyal Spark",
        "version": "2",
        "website": "https://loyalspark.online"
      },
      "maxAmountRequired": "5000",
      "maxTimeoutSeconds": 300,
      "max_timeout_seconds": 300,
      "mimeType": "application/json",
      "network": "eip155:8453",
      "outputSchema": {
        "input": {
          "bodyType": "query",
          "description": "HTTP GET https://api.loyalspark.online/x402-gateway/analytics?method=GET — x402-gateway /analytics. Authenticate with header x-api-key: lsk_....",
          "inputSchema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {},
            "type": "object"
          },
          "method": "GET",
          "type": "http"
        },
        "output": {
          "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape.",
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object"
          },
          "type": "json"
        }
      },
      "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
      "pay_to": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
      "resource": "https://api.loyalspark.online/x402-gateway/analytics?method=GET",
      "scheme": "exact"
    },
    "scheme": "exact"
  }
]

PaymentRequired raw

{
  "accepts": [
    {
      "amount": "5000",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.",
      "extensions": {
        "bazaar": {
          "info": {
            "input": {
              "headers": {
                "x-api-key": "lsk_..."
              },
              "method": "GET",
              "queryParams": {
                "customer_address": "0x0000000000000000000000000000000000000002",
                "token_address": "0x0000000000000000000000000000000000000001"
              },
              "type": "http"
            },
            "inputSchema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {},
              "type": "object"
            },
            "output": {
              "example": {
                "ok": true,
                "resource": "analytics"
              },
              "type": "json"
            }
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "input": {
                "additionalProperties": false,
                "properties": {
                  "headers": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "method": {
                    "enum": [
                      "GET",
                      "HEAD",
                      "DELETE"
                    ],
                    "type": "string"
                  },
                  "queryParams": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "type": {
                    "const": "http",
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "method"
                ],
                "type": "object"
              },
              "inputSchema": {
                "type": "object"
              },
              "output": {
                "properties": {
                  "example": {},
                  "type": {
                    "type": "string"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              }
            },
            "required": [
              "input"
            ],
            "type": "object"
          }
        },
        "builder-code": {
          "info": {
            "a": "bc_wdmnog7m"
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "a": {
                "description": "App builder code",
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "s": {
                "description": "Service builder codes",
                "items": {
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "type": "string"
                },
                "type": "array"
              },
              "w": {
                "description": "Wallet builder code",
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      "extra": {
        "brand": "Loyal Spark",
        "builderCode": "bc_wdmnog7m",
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.",
        "documentation": "https://loyalspark.online/for-agents",
        "name": "USD Coin",
        "provider": "Loyal Spark",
        "version": "2",
        "website": "https://loyalspark.online"
      },
      "maxAmountRequired": "5000",
      "maxTimeoutSeconds": 300,
      "mimeType": "application/json",
      "network": "eip155:8453",
      "outputSchema": {
        "input": {
          "bodyType": "query",
          "description": "HTTP GET https://api.loyalspark.online/x402-gateway/analytics?method=GET — x402-gateway /analytics. Authenticate with header x-api-key: lsk_....",
          "inputSchema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {},
            "type": "object"
          },
          "method": "GET",
          "type": "http"
        },
        "output": {
          "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape.",
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object"
          },
          "type": "json"
        }
      },
      "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
      "resource": "https://api.loyalspark.online/x402-gateway/analytics?method=GET",
      "scheme": "exact"
    }
  ],
  "error": "X-PAYMENT header is required",
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "headers": {
            "x-api-key": "lsk_..."
          },
          "method": "GET",
          "queryParams": {
            "customer_address": "0x0000000000000000000000000000000000000002",
            "token_address": "0x0000000000000000000000000000000000000001"
          },
          "type": "http"
        },
        "inputSchema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {},
          "type": "object"
        },
        "output": {
          "example": {
            "ok": true,
            "resource": "analytics"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "inputSchema": {
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {},
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_wdmnog7m"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "resource": {
    "method": "GET",
    "mimeType": "application/json",
    "url": "https://api.loyalspark.online/x402-gateway/analytics?method=GET"
  },
  "x402Version": 2
}

Response headers

{
  "access-control-allow-headers": "authorization, x-client-info, apikey, content-type, x-api-key, payment-signature, payment-required, x-payment, payment-response",
  "access-control-allow-origin": "*",
  "access-control-expose-headers": "X-Payment-Required, Payment-Required, PAYMENT-REQUIRED, X-Payment-Response, Payment-Response, PAYMENT-RESPONSE, X-Payment-Protocol, X-Payment-TxHash, X-Payment-Error, EXTENSION-RESPONSES",
  "alt-svc": "h3=\":443\"; ma=86400",
  "cf-cache-status": "DYNAMIC",
  "cf-ray": "a2a2c01eac478bd6-IAD",
  "connection": "keep-alive",
  "content-type": "application/json",
  "date": "Wed, 12 Aug 2026 22:00:01 GMT",
  "endpoint-load-metrics": "application_utilization:5,named_metrics.queue_depth:5",
  "nel": "{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}",
  "payment-required": "eyJ4NDAyVmVyc2lvbiI6MiwiYWNjZXB0cyI6W3sic2NoZW1lIjoiZXhhY3QiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJhbW91bnQiOiI1MDAwIiwibWF4QW1vdW50UmVxdWlyZWQiOiI1MDAwIiwibWF4VGltZW91dFNlY29uZHMiOjMwMCwicmVzb3VyY2UiOiJodHRwczovL2FwaS5sb3lhbHNwYXJrLm9ubGluZS94NDAyLWdhdGV3YXkvYW5hbHl0aWNzP21ldGhvZD1HRVQiLCJkZXNjcmlwdGlvbiI6Ik9uY2hhaW4gbG95YWx0eSBwbGF0Zm9ybSBvbiBCYXNlIE5ldHdvcmsuIEJ1c2luZXNz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joiaHR0cHM6Ly9qc29uLXNjaGVtYS5vcmcvZHJhZnQvMjAyMC0xMi9zY2hlbWEiLCJ0eXBlIjoib2JqZWN0IiwicHJvcGVydGllcyI6eyJhIjp7InR5cGUiOiJzdHJpbmciLCJwYXR0ZXJuIjoiXlthLXowLTlfXXsxLDMyfSQiLCJkZXNjcmlwdGlvbiI6IkFwcCBidWlsZGVyIGNvZGUifSwidyI6eyJ0eXBlIjoic3RyaW5nIiwicGF0dGVybiI6Il5bYS16MC05X117MSwzMn0kIiwiZGVzY3JpcHRpb24iOiJXYWxsZXQgYnVpbGRlciBjb2RlIn0sInMiOnsidHlwZSI6ImFycmF5IiwiaXRlbXMiOnsidHlwZSI6InN0cmluZyIsInBhdHRlcm4iOiJeW2EtejAtOV9dezEsMzJ9JCJ9LCJkZXNjcmlwdGlvbiI6IlNlcnZpY2UgYnVpbGRlciBjb2RlcyJ9fSwiYWRkaXRpb25hbFByb3BlcnRpZXMiOmZhbHNlfX19fQ==",
  "report-to": "{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=mfRO6mg2%2F33zAbRSeiRMwAbfNUeYYKY9v4yJb86CcBPlftOMjxfb4K1MFiMAf5nvVRbfTZW%2FRfYCl5LWJ5gra20mZ3ux8eTKlc0zalm2pHu3TTL7JS8%2F3EbNbwiEk5n8zAaxUNmCpfI%3D\"}]}",
  "sb-gateway-version": "1",
  "sb-project-ref": "bzxmejzssxjazswgwqqs",
  "sb-request-id": "019ff7fd-4f2e-7b33-88c0-ae0a8640c99e",
  "server": "cloudflare",
  "set-cookie": "__cf_bm=CMUUcrh0rft82WveJomhDz72oimS4ggREwBdAUl4B4A-1786572001.066238-1.0.1.1-sy5rxahDK2OxVLpAqEFn5OPe8Aoyi7jGGmH5L2tt7Tnsk12LbUqJM1kfz3433_ptKabBJGuya82kiC9HTjhFG48vrlvXBvsVWuDceDRrFaZeg5SAol.j8eZn.jZ34VbZ; HttpOnly; SameSite=None; Secure; Path=/; Domain=supabase.co; Expires=Wed, 12 Aug 2026 22:30:01 GMT",
  "strict-transport-security": "max-age=31536000; includeSubDomains; preload",
  "transfer-encoding": "chunked",
  "vary": "Accept-Encoding",
  "x-content-type-options": "nosniff",
  "x-deno-execution-id": "0fae9a2b-7f64-4ad6-8320-f51bdf06f320",
  "x-proxied-by": "loyalspark-cf-worker",
  "x-sb-edge-region": "us-east-1",
  "x-served-by": "supabase-edge-runtime"
}

Response body

{
  "accepts": [
    {
      "amount": "5000",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.",
      "extensions": {
        "bazaar": {
          "info": {
            "input": {
              "headers": {
                "x-api-key": "lsk_..."
              },
              "method": "GET",
              "queryParams": {
                "customer_address": "0x0000000000000000000000000000000000000002",
                "token_address": "0x0000000000000000000000000000000000000001"
              },
              "type": "http"
            },
            "inputSchema": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {},
              "type": "object"
            },
            "output": {
              "example": {
                "ok": true,
                "resource": "analytics"
              },
              "type": "json"
            }
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "input": {
                "additionalProperties": false,
                "properties": {
                  "headers": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "method": {
                    "enum": [
                      "GET",
                      "HEAD",
                      "DELETE"
                    ],
                    "type": "string"
                  },
                  "queryParams": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "type": {
                    "const": "http",
                    "type": "string"
                  }
                },
                "required": [
                  "type",
                  "method"
                ],
                "type": "object"
              },
              "inputSchema": {
                "type": "object"
              },
              "output": {
                "properties": {
                  "example": {},
                  "type": {
                    "type": "string"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              }
            },
            "required": [
              "input"
            ],
            "type": "object"
          }
        },
        "builder-code": {
          "info": {
            "a": "bc_wdmnog7m"
          },
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {
              "a": {
                "description": "App builder code",
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "s": {
                "description": "Service builder codes",
                "items": {
                  "pattern": "^[a-z0-9_]{1,32}$",
                  "type": "string"
                },
                "type": "array"
              },
              "w": {
                "description": "Wallet builder code",
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              }
            },
            "type": "object"
          }
        }
      },
      "extra": {
        "brand": "Loyal Spark",
        "builderCode": "bc_wdmnog7m",
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.",
        "documentation": "https://loyalspark.online/for-agents",
        "name": "USD Coin",
        "provider": "Loyal Spark",
        "version": "2",
        "website": "https://loyalspark.online"
      },
      "maxAmountRequired": "5000",
      "maxTimeoutSeconds": 300,
      "mimeType": "application/json",
      "network": "eip155:8453",
      "outputSchema": {
        "input": {
          "bodyType": "query",
          "description": "HTTP GET https://api.loyalspark.online/x402-gateway/analytics?method=GET — x402-gateway /analytics. Authenticate with header x-api-key: lsk_....",
          "inputSchema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "additionalProperties": false,
            "properties": {},
            "type": "object"
          },
          "method": "GET",
          "type": "http"
        },
        "output": {
          "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape.",
          "schema": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object"
          },
          "type": "json"
        }
      },
      "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
      "resource": "https://api.loyalspark.online/x402-gateway/analytics?method=GET",
      "scheme": "exact"
    }
  ],
  "error": "X-PAYMENT header is required",
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "headers": {
            "x-api-key": "lsk_..."
          },
          "method": "GET",
          "queryParams": {
            "customer_address": "0x0000000000000000000000000000000000000002",
            "token_address": "0x0000000000000000000000000000000000000001"
          },
          "type": "http"
        },
        "inputSchema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {},
          "type": "object"
        },
        "output": {
          "example": {
            "ok": true,
            "resource": "analytics"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "inputSchema": {
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {},
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_wdmnog7m"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "resource": {
    "method": "GET",
    "mimeType": "application/json",
    "url": "https://api.loyalspark.online/x402-gateway/analytics?method=GET"
  },
  "x402Version": 2
}

Request headers

{
  "accept": "*/*",
  "user-agent": "Fetch402Bot/0.1 (+https://fetch402.com/crawler; contact: crawler@fetch402.com)"
}

Machine contract

Schemas.

InputJSON
{
  "headers": {
    "x-api-key": "lsk_..."
  },
  "method": "GET",
  "queryParams": {
    "customer_address": "0x0000000000000000000000000000000000000002",
    "token_address": "0x0000000000000000000000000000000000000001"
  },
  "type": "http"
}
OutputJSON
{
  "example": {
    "ok": true,
    "resource": "analytics"
  },
  "type": "json"
}