{
  "x402Version": 2,
  "id": 35900,
  "slug": "35900",
  "resource": "https://tanod.dev/v1/text/replace",
  "description": "utilpeek (Tanod) find and replace: literal or RE2 regex (linear time).",
  "type": "http",
  "serviceName": "Tanod utilpeek",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "engine": {
            "type": "string"
          },
          "limit_reached": {
            "type": "boolean"
          },
          "mode": {
            "type": "string"
          },
          "replacements": {
            "type": "integer"
          },
          "source": {
            "type": "object"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "text",
          "replacements"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "find": "(?i)order (\\d+)",
            "mode": "regex",
            "replace": "#\\1",
            "text": "Order 123 shipped; order 456 pending"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "engine": "RE2 (google-re2 1.1.20251105)",
            "limit_reached": false,
            "mode": "regex",
            "replacements": 2,
            "text": "#123 shipped; #456 pending"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "case_sensitive": {
                    "default": true,
                    "description": "Match letter case exactly (default true); false ignores case.",
                    "type": "boolean"
                  },
                  "dot_all": {
                    "default": false,
                    "description": "regex: . also matches a newline.",
                    "type": "boolean"
                  },
                  "find": {
                    "description": "Literal text, or an RE2 pattern (mode=regex; no backreferences or lookaround; \\p{L} for letters).",
                    "maxLength": 1000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "max_replacements": {
                    "default": 10000,
                    "description": "Replace at most this many matches, first to last (1-10,000, default 10,000).",
                    "maximum": 10000,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "mode": {
                    "default": "literal",
                    "description": "literal (default: find is plain text) or regex (find is an RE2 pattern).",
                    "enum": [
                      "literal",
                      "regex"
                    ],
                    "type": "string"
                  },
                  "multiline": {
                    "default": false,
                    "description": "regex: ^ and $ match at line breaks.",
                    "type": "boolean"
                  },
                  "replace": {
                    "description": "Replacement; regex mode: \\1..\\99, \\g<name>, \\\\ for a backslash.",
                    "maxLength": 1000,
                    "type": "string"
                  },
                  "text": {
                    "description": "The text (at most 200,000 characters).",
                    "maxLength": 200000,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "text",
                  "find",
                  "replace"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "engine": {
                    "type": "string"
                  },
                  "limit_reached": {
                    "type": "boolean"
                  },
                  "mode": {
                    "type": "string"
                  },
                  "replacements": {
                    "type": "integer"
                  },
                  "source": {
                    "type": "object"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "required": [
                  "text",
                  "replacements"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_h7pxv14u"
      },
      "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"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "utilpeek",
    "fx-rates",
    "qr-code",
    "geocoding",
    "holidays",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "tanod.dev",
  "lastUpdated": "2026-10-09T03:29:44.308Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-09T03:29:43.417Z"
  },
  "metadata": {
    "serviceName": "Tanod utilpeek",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "find": "(?i)order (\\d+)",
              "mode": "regex",
              "replace": "#\\1",
              "text": "Order 123 shipped; order 456 pending"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "engine": "RE2 (google-re2 1.1.20251105)",
              "limit_reached": false,
              "mode": "regex",
              "replacements": 2,
              "text": "#123 shipped; #456 pending"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "case_sensitive": {
                      "default": true,
                      "description": "Match letter case exactly (default true); false ignores case.",
                      "type": "boolean"
                    },
                    "dot_all": {
                      "default": false,
                      "description": "regex: . also matches a newline.",
                      "type": "boolean"
                    },
                    "find": {
                      "description": "Literal text, or an RE2 pattern (mode=regex; no backreferences or lookaround; \\p{L} for letters).",
                      "maxLength": 1000,
                      "minLength": 1,
                      "type": "string"
                    },
                    "max_replacements": {
                      "default": 10000,
                      "description": "Replace at most this many matches, first to last (1-10,000, default 10,000).",
                      "maximum": 10000,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "mode": {
                      "default": "literal",
                      "description": "literal (default: find is plain text) or regex (find is an RE2 pattern).",
                      "enum": [
                        "literal",
                        "regex"
                      ],
                      "type": "string"
                    },
                    "multiline": {
                      "default": false,
                      "description": "regex: ^ and $ match at line breaks.",
                      "type": "boolean"
                    },
                    "replace": {
                      "description": "Replacement; regex mode: \\1..\\99, \\g<name>, \\\\ for a backslash.",
                      "maxLength": 1000,
                      "type": "string"
                    },
                    "text": {
                      "description": "The text (at most 200,000 characters).",
                      "maxLength": 200000,
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "text",
                    "find",
                    "replace"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "engine": {
                      "type": "string"
                    },
                    "limit_reached": {
                      "type": "boolean"
                    },
                    "mode": {
                      "type": "string"
                    },
                    "replacements": {
                      "type": "integer"
                    },
                    "source": {
                      "type": "object"
                    },
                    "text": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "text",
                    "replacements"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_h7pxv14u"
        },
        "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"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tanod.dev",
    "manifest_name": "tanod.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "engine": "string",
      "limit_reached": true,
      "mode": "string",
      "replacements": 0,
      "source": {},
      "text": "string"
    },
    "type": "string"
  }
}