# Playground

The playground at https://api.dharun.dev/play runs in a browser: it builds a request for any endpoint from the documented example, sends it, shows the answer and the rate-limit headers, and can chain one answer into the next request. Every endpoint is also described in https://api.dharun.dev/docs.md and https://api.dharun.dev/llms.txt.

## Chains

- Pincode → sunrise and panchang → share image: Look up a pincode, use its place for the sun and moon and the day's panchang, then draw a share card with what came back.
- GSTIN → format check → state → that state's bank holidays: A GSTIN starts with its state's code. Check the number, read the state, and list the bank holidays there this year.
- Invoice JSON → PDF → page image: Make a GST invoice PDF from JSON, then draw its first page as a picture.
- A domain → DNS → TLS → whois: Everything public about one domain: its records from four resolvers, its certificate, and who registered it.
- Photo of a Tamil notice → OCR → translation → speech: Read the text in a picture, translate it to English, and read it out. Uses model endpoints, which will need a free key.
