Api Endpoint

Toolrail

Generate a print-ready PDF from JSON data (invoice, report, contract templates) or raw HTML. Returns application/pdf. No account or subscription needed.

Open interactive test console

Offering

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

Endpoint context

URL
https://toolrail.dev/pdf
MIME type
Not provided
First seen
2026-10-16T01:52:13.818Z
Last seen
Tags
documents, pdf, invoices, reports

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xC6E6138dAAc78CeC93d491b4581Afa1a61B98a17"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "7zBC8YJQAFszUV6qF2HPAR4kZtY1jsQivjY2tvFE8qCR"
  }
]

Observed health

Status
Healthy
Latest latency
194 ms
Average latency
140 ms
HTTP status
204
Last checked
Reachability
100% over 2 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "data": {
          "properties": {
            "client": {
              "properties": {
                "name": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "currency": {
              "type": "string"
            },
            "issuer": {
              "properties": {
                "name": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "items": {
              "items": {
                "properties": {
                  "description": {
                    "type": "string"
                  },
                  "quantity": {
                    "type": "integer"
                  },
                  "unit_price": {
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "number": {
              "type": "string"
            },
            "tax_rate": {
              "type": "integer"
            }
          },
          "type": "object"
        },
        "template": {
          "type": "string"
        }
      },
      "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 schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "data": {
              "properties": {
                "client": {
                  "properties": {
                    "name": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "currency": {
                  "type": "string"
                },
                "issuer": {
                  "properties": {
                    "name": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "items": {
                  "items": {
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "quantity": {
                        "type": "integer"
                      },
                      "unit_price": {
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                },
                "number": {
                  "type": "string"
                },
                "tax_rate": {
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "template": {
              "type": "string"
            }
          },
          "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"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}