Skip to content
GlyphTools
EN
EnglishEspañolDeutschFrançaisSvenskaNederlandsLietuviųไทยPortuguêsРусский中文Українськаहिन्दीBahasa Indonesia

Docs

Try a sample response, then use an API key to make a live request.

Try a sample

Open a sample VAT response to see the JSON in your browser. This static example is free and works without a key.

Your key

Choose a monthly plan or a one-off pack on the API credits page. Copy your key after payment and send it in the authorization header for paid calls.

curl -H "Authorization: Bearer $API_KEY" "https://www.glyphtools.com/vat/validate?vat=SE556703748501"

X-API-Key: <key> works too. Where a client can only fetch a URL, add api_key=<key> to the query string; a key in a URL can end up in logs, so prefer the header.

Requests

Sending a file

The PDF reader also takes the file itself, up to 10 MB, as a multipart form field named file or as the raw request body. The file is read in memory for that one request and is not stored.

curl -H "Authorization: Bearer $API_KEY" -F "file=@report.pdf" "https://www.glyphtools.com/pdf/text"

Answers and errors

StatusMeaningCharged
200The answer, as JSON.Paid calls use credits. Samples and successful free trials are free.
400, 404, 415, 422The input was wrong or the thing was not found. The body is JSON with an error message that says what to change.No
402No key was sent, or the key has too few credits. The body says how to pay.No
5xxThe service or an outside source it reads could not answer. Safe to try again.No

A check that could not be made is never reported as a negative result: a VAT number is "not valid" only when the tax authority said so.

Balance, top-ups and a leaked key

From an AI assistant

The same tools are an MCP server at https://www.glyphtools.com/mcp; send the key as the Authorization header of the connection. Agents that pay per call without a key: agent catalogue and payment details. Machine-readable: OpenAPI, llms.txt.

Reliability and privacy

Success rates for the last seven days are public at /status. What is and is not stored: privacy.