Api Endpoint

Tanod utilpeek

utilpeek (Tanod) line tools: trim, dedupe, sort, shuffle and number lines. Use when an agent must clean up a list of lines by trimming, deduplicating, sorting or numbering.

Open interactive test console

Offering

Provider
tanod.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tanod.dev/v1/text/lines
MIME type
application/json
First seen
2026-10-16T01:51:02.144Z
Last seen
Tags
line-tools, deduplicate-lines, sort-lines, Text, utilpeek, fx-rates, qr-code, geocoding, Holidays, lines

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 4
0.001 USDC
Atomic price: 1000000000000000 · Network: eip155:56 · Asset: USDC · Scheme: exact
Payment option 5
0.001 USDC
Atomic price: 1000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 6
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 7
0.001 USDC
Atomic price: 1000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
    "amount": "1000000000000000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  }
]

Observed health

Status
Healthy
Latest latency
305 ms
Average latency
633 ms
HTTP status
204
Last checked
Reachability
100% over 10 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "additionalProperties": false,
      "properties": {
        "text": {
          "description": "The text (at most 200,000 characters).",
          "maxLength": 200000,
          "minLength": 1,
          "type": "string"
        },
        "operations": {
          "description": "Applied in order: trim, remove_empty, dedupe, sort, reverse, shuffle, number.",
          "items": {
            "enum": [
              "trim",
              "remove_empty",
              "dedupe",
              "sort",
              "reverse",
              "shuffle",
              "number"
            ],
            "type": "string"
          },
          "maxItems": 10,
          "minItems": 1,
          "type": "array"
        },
        "sort_mode": {
          "default": "lexical",
          "description": "For sort: lexical (default, by character), natural (numbers by value: item 9 before item 10) or length (shortest first).",
          "enum": [
            "lexical",
            "natural",
            "length"
          ],
          "type": "string"
        },
        "descending": {
          "default": false,
          "description": "For sort: largest first (default false: ascending).",
          "type": "boolean"
        },
        "case_insensitive": {
          "default": false,
          "description": "dedupe / sort / count compare casefolded lines.",
          "type": "boolean"
        },
        "seed": {
          "default": 0,
          "description": "Shuffle seed: same seed, same order.",
          "maximum": 9223372036854776000,
          "minimum": 0,
          "type": "integer"
        },
        "number_start": {
          "default": 1,
          "description": "For number: the first line's number (-1,000,000 to 1,000,000; default 1).",
          "maximum": 1000000,
          "minimum": -1000000,
          "type": "integer"
        },
        "number_separator": {
          "default": ". ",
          "description": "For number: text between the number and the line (at most 10 characters; default \". \").",
          "maxLength": 10,
          "type": "string"
        },
        "count_unique": {
          "default": false,
          "description": "Also return the most frequent lines with counts.",
          "type": "boolean"
        },
        "top_n": {
          "default": 100,
          "description": "With count_unique: how many of the most frequent lines to return (1-1000, default 100).",
          "maximum": 1000,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "text",
        "operations"
      ],
      "type": "object"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "case_insensitive": {
              "default": false,
              "description": "dedupe / sort / count compare casefolded lines.",
              "type": "boolean"
            },
            "count_unique": {
              "default": false,
              "description": "Also return the most frequent lines with counts.",
              "type": "boolean"
            },
            "descending": {
              "default": false,
              "description": "For sort: largest first (default false: ascending).",
              "type": "boolean"
            },
            "number_separator": {
              "default": ". ",
              "description": "For number: text between the number and the line (at most 10 characters; default \". \").",
              "maxLength": 10,
              "type": "string"
            },
            "number_start": {
              "default": 1,
              "description": "For number: the first line's number (-1,000,000 to 1,000,000; default 1).",
              "maximum": 1000000,
              "minimum": -1000000,
              "type": "integer"
            },
            "operations": {
              "description": "Applied in order: trim, remove_empty, dedupe, sort, reverse, shuffle, number.",
              "items": {
                "enum": [
                  "trim",
                  "remove_empty",
                  "dedupe",
                  "sort",
                  "reverse",
                  "shuffle",
                  "number"
                ],
                "type": "string"
              },
              "maxItems": 10,
              "minItems": 1,
              "type": "array"
            },
            "seed": {
              "default": 0,
              "description": "Shuffle seed: same seed, same order.",
              "maximum": 9223372036854776000,
              "minimum": 0,
              "type": "integer"
            },
            "sort_mode": {
              "default": "lexical",
              "description": "For sort: lexical (default, by character), natural (numbers by value: item 9 before item 10) or length (shortest first).",
              "enum": [
                "lexical",
                "natural",
                "length"
              ],
              "type": "string"
            },
            "text": {
              "description": "The text (at most 200,000 characters).",
              "maxLength": 200000,
              "minLength": 1,
              "type": "string"
            },
            "top_n": {
              "default": 100,
              "description": "With count_unique: how many of the most frequent lines to return (1-1000, default 100).",
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "text",
            "operations"
          ],
          "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": {
            "lines_in": {
              "type": "integer"
            },
            "lines_out": {
              "type": "integer"
            },
            "operations": {
              "type": "array"
            },
            "removed": {
              "type": "integer"
            },
            "seed": {
              "type": "integer"
            },
            "source": {
              "type": "object"
            },
            "text": {
              "type": "string"
            },
            "top": {
              "type": "array"
            },
            "unique_lines": {
              "type": "integer"
            }
          },
          "required": [
            "text",
            "lines_in",
            "lines_out"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}