{
  "x402Version": 2,
  "id": 3349,
  "slug": "3349",
  "resource": "https://toolshed.lemon-agent.dev/convert/json-ndjson",
  "description": "JSON array to NDJSON. POST a JSON array; the response is one compact JSON value per line — the shape streaming loaders, log shippers and jq pipelines take. A non-array input is refused rather than emitted as a stream of one, because that is the mistake this endpoint exists to catch.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0adc7adac7bbaffffbd73505711e42378c4f9f9e",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7zXRc8sYkhjezbwXQw43beBrKDmhTMA7mkNfqRjdZ6gw",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "2000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": "[{\"a\":1},{\"a\":2}]",
          "bodyType": "text",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": "{\"a\":1}\n{\"a\":2}\n",
          "format": "application/x-ndjson",
          "type": "text"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "description": "the raw JSON file as the request body, up to 256 KB",
                "maxLength": 262144,
                "type": "string"
              },
              "bodyType": {
                "const": "text",
                "type": "string"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "additionalProperties": false,
            "properties": {
              "example": {
                "description": "the sample request body above, converted — what a the converted NDJSON file as the response body (application/x-ndjson) looks like",
                "type": "string"
              },
              "format": {
                "const": "application/x-ndjson",
                "description": "the converted NDJSON file as the response body (application/x-ndjson)",
                "type": "string"
              },
              "type": {
                "const": "text",
                "type": "string"
              }
            },
            "required": [
              "type",
              "format"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "toolshed.lemon-agent.dev",
  "lastUpdated": "2026-09-02T14:57:08.927Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-02T14:57:08.687Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "toolshed.lemon-agent.dev",
    "manifest_name": "toolshed.lemon-agent.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}