Agent Data Tools

Docs

Every API here is one HTTPS request that returns JSON. This page is everything that is the same for all of them.

Your key

Get a key from pricing (a monthly plan or a one-off pack). It is shown right after payment, so copy it then. Send it with every call:

curl -H "Authorization: Bearer $API_KEY" "https://tools.funwords.eu/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://tools.funwords.eu/pdf/text"

Answers and errors

StatusMeaningCharged
200The answer, as JSON.Yes: the call's price in credits
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://tools.funwords.eu/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.