All API tools

Colors & Design

CSS to Tailwind Converter API

GET/v1/css-to-tailwind Free tier1 credit / call

Authentication

Send your API key as a bearer token. Create one free in the dashboard.

Authorization: Bearer $TOOLSXPO_KEY

Parameters

Passed as query-string parameters. Example values shown.

NameExample
cssa{color:red}

Example request

curl "https://api.toolsxpo.com/v1/css-to-tailwind?css=a%7Bcolor%3Ared%7D" \
  -H "Authorization: Bearer $TOOLSXPO_KEY"

Response

A standard JSON envelope: { ok, data, meta }. The result is in data (text); meta.credits reports what the call cost.