# Strip0x API v0.1.0 Blockchain developer tools. Ethereum hex and address operations via HTTP JSON API. Base URL: https://strip0x.com ## Free Endpoints ### GET /api/hex/encode Encode raw bytes to a 0x-prefixed lowercase hex string Params: - value (string, required) — Raw string value to hex-encode Example: /api/hex/encode?value=hello → {"result":"0x68656c6c6f"} ### GET /api/hex/valid Check whether a string is valid hex Params: - value (string, required) — String to check for valid hex format Example: /api/hex/valid?value=0xdeadbeef → {"result":true} ### GET /api/hex/decode Decode a hex string to its original value (UTF-8 string or base64-encoded bytes) Params: - value (string, required) — Hex string to decode (with or without 0x prefix) - format (string, optional) — Output format: utf8 (default, falls back to base64) or base64 Example: /api/hex/decode?value=0x68656c6c6f&format=utf8 → {"encoding":"utf8","result":"hello"} ### GET /api/hex/to_integer Convert a hex string to its integer value Params: - value (string, required) — Hex string to convert (with or without 0x prefix) Example: /api/hex/to_integer?value=0xff → {"result":255} ### GET /api/hex/from_integer Convert a non-negative integer to a 0x-prefixed hex string Params: - value (string, required) — Non-negative integer to convert Example: /api/hex/from_integer?value=255 → {"result":"0xff"} ## Paid Endpoints (402 Payment Required) Payment: 100 0x20c000000000000000000000b9537d11c60e8b50 via tempo. See GET /openapi.json for full x-payment-info details. ### GET /api/address/validate Validate an Ethereum address and return its canonical 0x-prefixed form Params: - address (string, required) — Ethereum address (hex with or without 0x prefix) Example: /api/address/validate?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 → {"address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","valid":true} ### GET /api/address/checksum Return the EIP-55 checksummed form of an Ethereum address Params: - address (string, required) — Ethereum address (hex with or without 0x prefix) Example: /api/address/checksum?address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 → {"result":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"} ### GET /api/address/normalize Return the lowercase 0x-prefixed canonical form of an Ethereum address Params: - address (string, required) — Ethereum address (hex with or without 0x prefix) Example: /api/address/normalize?address=0xD8DA6BF26964AF9D7EED9E03E53415D37AA96045 → {"result":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"} ### GET /api/address/equal Check if two Ethereum addresses are equal (format-agnostic comparison) Params: - a (string, required) — First Ethereum address - b (string, required) — Second Ethereum address Example: /api/address/equal?a=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&b=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 → {"result":true} ### POST /api/address/batch Apply multiple operations to multiple addresses in a single request Params: - addresses (array, required) — Array of Ethereum addresses (strings) - operations (array, required) — Array of operations: validate, checksum, normalize Example response: {"results":[{"address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","checksum":{"result":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"validate":{"address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","valid":true}}]} ## Discovery - GET /api/discover — JSON endpoint metadata - GET /openapi.json — OpenAPI 3.1 with MPP x-payment-info extensions - GET /llms.txt — This document