# API reference

All 81 APIs of India API, with every endpoint. Each name links to its full page: parameters, a real response and code in curl, JavaScript and Python. Base URL: https://api.dharun.dev. No API key needed for most endpoints; 600 units a minute per address, more with a free key (https://api.dharun.dev/keys).

## Money and business

### [Company logos](https://api.dharun.dev/docs/logos.md)

Logos and details for companies listed on NSE and BSE.

- `GET /v1/logos/{symbol}`: Logo image for a listed company (returns image)
- `GET /v1/companies/{symbol}`: Details of a listed company
- `GET /v1/companies`: Search listed companies
- `GET /v1/sectors`: Sectors and industries of listed companies

### [Brand, stock and asset logos](https://api.dharun.dev/docs/world-logos.md)

Logos for unlisted Indian brands, global stocks, crypto, indices, ETFs and commodities.

- `GET /v1/brand-logos/{name}`: Logo of an unlisted Indian brand (returns image)
- `GET /v1/brand-logos`: Search the brands
- `GET /v1/stock-logos/{symbol}`: Logo of a global stock (returns image)
- `GET /v1/stock-logos`: Search the global stocks
- `GET /v1/asset-logos/{symbol}`: Logo of a coin, index, ETF or commodity (returns image)
- `GET /v1/asset-logos`: Search coins, indices, ETFs and commodities

### [IFSC and banks](https://api.dharun.dev/docs/ifsc.md)

IFSC to bank and branch.

- `GET /v1/ifsc/{code}`: Branch for an IFSC
- `GET /v1/ifsc`: Search a bank's branches
- `GET /v1/banks/{code}`: Bank for a four-letter code
- `GET /v1/banks`: Search banks
- `GET /v1/micr/{code}`: Branch from a MICR code
- `GET /v1/swift/{code}`: Branches with a SWIFT code

### [QR codes and barcodes](https://api.dharun.dev/docs/codes.md)

QR codes, UPI payment QR codes and barcodes as SVG or PNG, and reading them from a photo.

- `GET or POST /v1/qr`: QR code for any text (returns image)
- `GET /v1/upi-qr`: UPI payment QR code (returns image)
- `GET or POST /v1/barcode/{type}`: Barcode (returns image)
- `POST /v1/barcode/read`: Read QR codes and barcodes from a picture

### [HSN and SAC codes](https://api.dharun.dev/docs/hsn.md)

GST classification codes for goods and services.

- `GET /v1/hsn/{code}`: A code, its parents and children
- `GET /v1/hsn`: Search codes

### [Mutual fund NAVs](https://api.dharun.dev/docs/mutual-funds.md)

Latest net asset value of every Indian mutual fund scheme.

- `GET /v1/mutual-funds/{code}`: A scheme and its NAV
- `GET /v1/mutual-funds`: Search schemes
- `GET /v1/mutual-funds/fund-houses`: Fund houses
- `GET /v1/mutual-funds/{code}/returns`: Returns and SIP returns
- `GET /v1/mutual-funds/{code}/history`: NAV history

### [Number to words](https://api.dharun.dev/docs/words.md)

Numbers and rupee amounts in words, the Indian way.

- `GET /v1/words/{number}`: Spell out a number

### [Format checks](https://api.dharun.dev/docs/validate.md)

Check the format of a GSTIN, PAN or IFSC.

- `GET /v1/validate/{kind}/{value}`: Check an identifier's format

### [GST invoice](https://api.dharun.dev/docs/invoice.md)

A GST tax invoice as a PDF from JSON, with the tax worked out.

- `POST /v1/invoice`: Make a GST tax invoice (returns PDF)

### [Money calculators](https://api.dharun.dev/docs/calculators.md)

SIP, EMI, GST, income tax, HRA, gratuity, PPF, capital gains and trade charges.

- `GET /v1/calc/sip`: SIP returns
- `GET /v1/calc/lumpsum`: Lump sum growth
- `GET /v1/calc/emi`: Loan EMI and schedule
- `GET /v1/calc/gst`: GST split
- `GET /v1/calc/income-tax`: Income tax, old and new regime
- `GET /v1/calc/hra`: HRA exemption
- `GET /v1/calc/gratuity`: Gratuity
- `GET /v1/calc/ppf`: PPF maturity
- `GET /v1/calc/capital-gains`: Capital gains tax
- `GET /v1/calc/trade`: Share trade charges

### [Indian number formatting](https://api.dharun.dev/docs/format.md)

Lakh and crore grouping, 1.2 Cr short forms, rupees and Indian-script digits.

- `GET /v1/format/number/{number}`: Format a number the Indian way

### [UPI handles and payment QR codes](https://api.dharun.dev/docs/upi.md)

Which app and bank is behind @okaxis, and what a UPI or Bharat QR code says.

- `GET /v1/upi-handles`: Known UPI handles
- `GET /v1/upi-handles/{handle}`: Look up a UPI handle
- `GET or POST /v1/qr/parse`: Read a UPI or Bharat QR code's text

### [RBI rates and exchange rates](https://api.dharun.dev/docs/rates.md)

Repo rate, CRR and SLR, FBIL reference exchange rates, lending and deposit rates, and bond yields.

- `GET /v1/rates`: Current RBI rates
- `GET /v1/fx`: Reference exchange rates

### [Derivative expiries](https://api.dharun.dev/docs/expiries.md)

NSE and BSE futures and options expiry dates, moved for holidays.

- `GET /v1/expiries`: Expiry dates

### [Gold and silver rates](https://api.dharun.dev/docs/bullion.md)

Today's gold (24K, 22K, 18K...), silver and platinum rates from IBJA, and their history.

- `GET /v1/bullion`: Today's rates
- `GET /v1/bullion/history`: Rates over time

### [Index constituents](https://api.dharun.dev/docs/indices.md)

Which companies are in Nifty 50, Bank Nifty, Nifty 500 and 28 more NSE indices, and which indices a stock is in.

- `GET /v1/indices`: List indices, or the indices of a stock
- `GET /v1/indices/{id}`: Constituents of an index

### [Mandi prices](https://api.dharun.dev/docs/mandi.md)

Today's wholesale prices of vegetables, fruit, grain and pulses in India's markets, from Agmarknet.

- `GET /v1/mandi`: Prices by commodity, state, district or market
- `GET /v1/mandi/commodities`: What was reported on the latest day

### [Card BIN lookup](https://api.dharun.dev/docs/bin.md)

Which network, card type and bank a card's first six digits belong to: Visa, Mastercard, RuPay, debit or credit.

- `GET /v1/bin/{prefix}`: Network, type and bank of a card prefix

## Places and transport

### [Pincodes](https://api.dharun.dev/docs/pincode.md)

Pincode to post office, district and state.

- `GET /v1/pincode/{pincode}`: Post offices for a pincode
- `GET /v1/pincode`: Search post offices
- `GET /v1/pincode/near`: Post offices near a point

### [RTO codes](https://api.dharun.dev/docs/rto.md)

Vehicle registration code to transport office.

- `GET /v1/rto/{code}`: Office for an RTO code
- `GET /v1/rto`: List or search RTO codes

### [Railway stations](https://api.dharun.dev/docs/stations.md)

Indian Railways station codes to stations, and back.

- `GET /v1/stations/{code}`: Station for a code
- `GET /v1/stations`: Search stations
- `GET /v1/stations/zones`: Railway zones

### [Constituencies](https://api.dharun.dev/docs/constituency.md)

Which assembly and Lok Sabha constituency a place is in.

- `GET /v1/constituency`: Constituencies of a place

### [Airports](https://api.dharun.dev/docs/airports.md)

Airport codes to airports, and airports by city.

- `GET /v1/airports/{code}`: Airport for a code
- `GET /v1/airports`: Search airports

### [States](https://api.dharun.dev/docs/states.md)

States and union territories with their codes.

- `GET /v1/states`: All states and union territories
- `GET /v1/states/{code}`: One state

### [Address reader](https://api.dharun.dev/docs/address.md)

A free-text Indian address split into house, street, locality, city, state and pincode, checked.

- `GET or POST /v1/address/parse`: Read an Indian address

### [Helplines](https://api.dharun.dev/docs/helplines.md)

National emergency and helpline numbers.

- `GET /v1/helplines`: National helplines

### [Air quality](https://api.dharun.dev/docs/air-quality.md)

The air quality index at CPCB's monitoring stations across India, updated hourly.

- `GET /v1/air-quality`: Stations with their AQI and pollutants

### [Villages and LGD codes](https://api.dharun.dev/docs/lgd.md)

Every state, district, sub-district and village of India with its LGD and Census 2011 codes, and village PIN codes.

- `GET /v1/lgd/states`: States with their LGD codes
- `GET /v1/lgd/districts`: Districts of a state
- `GET /v1/lgd/subdistricts`: Sub-districts (taluks, tehsils, mandals) of a district
- `GET /v1/lgd/villages`: Villages by sub-district, PIN code or name
- `GET /v1/lgd/villages/{code}`: A village by its LGD code

### [Hospitals](https://api.dharun.dev/docs/hospitals.md)

About 30,000 hospitals across India with their kind, system of medicine, phone and position, from the National Hospital Directory.

- `GET /v1/hospitals`: Hospitals near a point, by PIN code, district or name

### [Census 2011 figures](https://api.dharun.dev/docs/census.md)

Population, households, literacy, sex ratio and workers for India, every state, district, sub-district and town, from the 2011 census.

- `GET /v1/census/{level}/{code}`: Figures for a place, and the places inside it
- `GET /v1/census`: Find a place by name

## Dates and calendars

### [Holidays](https://api.dharun.dev/docs/holidays.md)

Bank, government and stock market holidays.

- `GET /v1/holidays/{year}`: Holidays in a year
- `GET /v1/holidays/{year}.ics`: Holidays as a calendar to subscribe to (returns calendar)

### [Working days](https://api.dharun.dev/docs/working-days.md)

Bank, market, settlement and government working days.

- `GET /v1/working-days/{date}`: Is a date a working day
- `GET /v1/working-days`: Count working days between two dates
- `GET /v1/market/status`: Is the stock market open

### [Panchang](https://api.dharun.dev/docs/panchang.md)

Hindu almanac for any date and place: tithi, nakshatra, Rahu kalam and more.

- `GET /v1/panchang/{date}`: Panchang for a date

### [Sun and moon](https://api.dharun.dev/docs/sun-moon.md)

Sunrise, sunset, twilight, moonrise and the moon's phase for any date and place.

- `GET /v1/sun-moon/{date}`: Sun and moon for a date

### [Today in India](https://api.dharun.dev/docs/today.md)

India's "now" in one call: date, financial year, working days, holidays, market and panchang.

- `GET /v1/today`: Today in India

### [Indian date tools](https://api.dharun.dev/docs/dates.md)

Financial and assessment year, quarter, the Saka, Tamil and Hijri dates, and ages.

- `GET /v1/dates/{date}`: One date in Indian calendars
- `GET /v1/dates/diff`: Age and the span between dates

### [Festivals](https://api.dharun.dev/docs/festivals.md)

Hindu, Tamil, Sikh, Jain, Buddhist, Islamic and Christian festival dates for any year, computed.

- `GET /v1/festivals/{year}`: Festivals in a year
- `GET /v1/festivals/{year}.ics`: Festivals as a calendar to subscribe to (returns calendar)

## Language and text

### [Thirukkural](https://api.dharun.dev/docs/thirukkural.md)

All 1,330 kurals in Tamil with English translations.

- `GET /v1/thirukkural/{number}`: A kural by number
- `GET /v1/thirukkural`: Search kurals
- `GET /v1/thirukkural/today`: Kural of the day
- `GET /v1/thirukkural/random`: A random kural
- `GET /v1/thirukkural/chapters`: All 133 chapters
- `GET /v1/thirukkural/chapters/{number}`: One chapter

### [Text tools](https://api.dharun.dev/docs/text.md)

Chunk documents, redact identifiers and names, moderate, count tokens, detect language.

- `GET or POST /v1/text/chunk`: Split a document into chunks
- `GET or POST /v1/text/redact`: Redact Indian personal identifiers
- `GET or POST /v1/text/tokens`: Count tokens
- `GET or POST /v1/text/language`: Detect the language
- `GET or POST /v1/text/moderate`: Score text for abuse, Hinglish and Tanglish included

### [Transliteration](https://api.dharun.dev/docs/transliterate.md)

Rewrite text between Indian scripts and Roman letters, or turn Roman typing into an Indian script.

- `GET or POST /v1/transliterate`: Transliterate text
- `GET or POST /v1/transliterate/suggest`: Roman typing to an Indian script (type English, get Tamil)

### [Tamil legacy encodings](https://api.dharun.dev/docs/tamil-font.md)

Old Tamil text that shows as accented Latin letters, to Unicode and back.

- `GET or POST /v1/tamil-font/convert`: Convert Tamil text
- `GET /v1/tamil-font/encodings`: Encodings offered

### [Speech](https://api.dharun.dev/docs/speech.md)

Speech to text, text to speech in Hindi, Telugu, Malayalam and English, and noise removal.

- `POST /v1/stt`: Speech to text, with subtitles
- `GET or POST /v1/tts`: Text to speech (returns audio)
- `GET /v1/tts/voices`: Voices
- `POST /v1/audio/denoise`: Remove background noise (returns audio)

### [Embeddings and reranking](https://api.dharun.dev/docs/embeddings.md)

Vectors for semantic search in Indian languages and English, and a reranker to order results.

- `GET or POST /v1/embed`: Text embeddings
- `GET or POST /v1/rerank`: Rerank documents for a query

### [Translation](https://api.dharun.dev/docs/translate.md)

Translate between English and 22 Indian languages with IndicTrans2.

- `GET or POST /v1/translate`: Translate text
- `GET /v1/translate/languages`: Languages

### [Indic text tools](https://api.dharun.dev/docs/indic.md)

Letters as readers count them, dictionary order, look-alike fixes, braille and keyboard layouts.

- `GET or POST /v1/indic/aksharas`: Split into letters and count them
- `GET or POST /v1/indic/sort`: Dictionary order
- `GET or POST /v1/indic/normalise`: Fix look-alike letters
- `GET or POST /v1/braille`: Bharati braille
- `GET or POST /v1/keyboard/convert`: QWERTY keys and Indian layouts

### [Search your own documents](https://api.dharun.dev/docs/rag.md)

Upload documents, ask a question, get the best passages back: retrieval for your own AI app.

- `POST /v1/rag`: Make a collection
- `POST /v1/rag/{id}/documents`: Add documents
- `POST /v1/rag/{id}/query`: Ask a question
- `POST /v1/rag/{id}/delete`: Delete a collection

### [IPC to BNS section finder](https://api.dharun.dev/docs/law.md)

Which section of the Bharatiya Nyaya Sanhita replaced IPC 302, and the same for CrPC to BNSS and the Evidence Act to BSA.

- `GET /v1/law/{law}/{section}`: A section and its counterpart
- `GET /v1/law/{law}`: Search section titles

### [Indian classics](https://api.dharun.dev/docs/classics.md)

Aathichoodi, the Bhagavad Gita in Sanskrit and Kabir's couplets, a line or verse at a time, with transliteration.

- `GET /v1/classics`: The texts
- `GET /v1/classics/{text}`: A text and its parts
- `GET /v1/classics/{text}/{ref}`: A verse, a whole part, or a random one

### [Small LLM (English)](https://api.dharun.dev/docs/llm.md)

Summarise, classify, extract to JSON and rewrite English text with a small open model, and an OpenAI-compatible chat.

- `POST /v1/llm/summarise`: Summarise English text
- `POST /v1/llm/classify`: Pick a label for a text from your list
- `POST /v1/llm/extract`: Extract fields from text as JSON
- `POST /v1/llm/rewrite`: Rewrite text in another tone
- `POST /v1/chat/completions`: Chat, OpenAI-compatible
- `GET /v1/models`: The model list, for OpenAI clients

## Network and contact checks

### [IP address location](https://api.dharun.dev/docs/ip.md)

IP address to country, state, city and network.

- `GET /v1/ip/{address}`: Location of an IP address
- `GET /v1/ip`: Location of your own address

### [Email checks](https://api.dharun.dev/docs/email.md)

Is an email address well formed, throwaway, and able to receive mail.

- `GET /v1/email/{address}`: Check an email address

### [DNS check](https://api.dharun.dev/docs/dns.md)

A domain's DNS records at four public resolvers at once.

- `GET /v1/dns/{name}`: Look up DNS records

### [Phone numbers](https://api.dharun.dev/docs/phone.md)

Check and format an Indian phone number, and see whose series it is.

- `GET /v1/phone/{number}`: Check a phone number

### [Traceroute from India](https://api.dharun.dev/docs/mtr.md)

The network path from a server in India to any host, with loss and latency per hop.

- `GET /v1/mtr/{host}`: Trace the route to a host

### [Whois](https://api.dharun.dev/docs/whois.md)

Who registered a domain, an IP network or an AS number, through RDAP.

- `GET /v1/whois/{query}`: Look up a registration

### [TLS check](https://api.dharun.dev/docs/tls.md)

A website's certificate and TLS setup, checked from India.

- `GET /v1/tls/{host}`: Check a host's TLS

### [IPv6 check](https://api.dharun.dev/docs/ipv6.md)

Is a domain ready for IPv6: website, nameservers and mail.

- `GET /v1/ipv6/{domain}`: Check a domain's IPv6

### [HTTP probe from India](https://api.dharun.dev/docs/probe.md)

How fast a URL answers from India: DNS, connect, TLS, first byte and the CDN edge.

- `GET /v1/probe`: Time a URL from India

### [Website icons](https://api.dharun.dev/docs/icon.md)

The icon of any website as a square PNG, for lists of links and bookmarks.

- `GET /v1/icon/{domain}`: Icon for a website (returns image)

### [Web pages](https://api.dharun.dev/docs/web.md)

Link previews, a page as Markdown for agents, and HTML and Markdown to each other.

- `GET /v1/unfurl`: Link preview data
- `GET /v1/read`: A web page as Markdown
- `GET or POST /v1/markdown`: HTML and Markdown to each other

### [STD codes](https://api.dharun.dev/docs/std-codes.md)

The landline STD code of every town and area in India, and which area a landline number belongs to.

- `GET /v1/std-codes/{code}`: The area of an STD code or a landline number
- `GET /v1/std-codes`: Find the STD code of a town

## Files, documents and media

### [OCR](https://api.dharun.dev/docs/ocr.md)

Text from photos, scans and scanned PDFs, in English and ten Indian languages.

- `POST /v1/ocr`: Read the text in a picture or PDF

### [Image tools](https://api.dharun.dev/docs/image-tools.md)

Resize and convert pictures, remove backgrounds, and compare pictures by how they look.

- `POST /v1/image/convert`: Resize and convert a picture (returns image)
- `POST /v1/image/info`: Size, format and metadata of a picture
- `POST /v1/image/remove-background`: Remove the background (returns image)
- `POST /v1/image/hash`: Perceptual hash of a picture
- `POST /v1/image/compare`: Compare two pictures
- `POST /v1/image/thumbhash`: ThumbHash placeholder
- `POST /v1/image/icons`: Favicon and app icon pack (returns ZIP)
- `POST /v1/image/svg-to-png`: SVG to PNG (returns image)
- `POST /v1/image/watermark`: Watermark a picture (returns image)

### [PDF tools](https://api.dharun.dev/docs/pdf.md)

Merge, split, rotate and compress PDFs, read their text and draw their pages.

- `POST /v1/pdf/info`: Pages, size and details of a PDF
- `POST /v1/pdf/text`: Text of a PDF, page by page
- `POST /v1/pdf/merge`: Merge PDFs into one (returns PDF)
- `POST /v1/pdf/pages`: Pick, reorder or split pages (returns PDF)
- `POST /v1/pdf/rotate`: Rotate pages (returns PDF)
- `POST /v1/pdf/compress`: Make a PDF smaller (returns PDF)
- `POST /v1/pdf/render`: Draw a page as a picture (returns image)
- `POST /v1/pdf/watermark`: Watermark a PDF (returns PDF)
- `POST /v1/pdf/page-numbers`: Number the pages (returns PDF)
- `POST /v1/pdf/from-images`: Pictures to PDF (returns PDF)
- `POST /v1/pdf/unlock`: Remove a PDF's password (returns PDF)

### [Typst to PDF](https://api.dharun.dev/docs/typst.md)

Turn a Typst document into a PDF, with Indian scripts set correctly.

- `GET or POST /v1/typst`: Compile Typst to PDF (returns PDF)

### [Audio and video tools](https://api.dharun.dev/docs/media.md)

Convert, trim, draw a waveform or take a frame, with ffmpeg.

- `POST /v1/media/convert`: Convert audio or video (returns audio)
- `POST /v1/media/trim`: Cut a clip (returns audio)
- `POST /v1/media/waveform`: Waveform picture (returns image)
- `POST /v1/media/thumbnail`: A frame from a video (returns image)

### [Document reading](https://api.dharun.dev/docs/documents.md)

PDFs and scans to Markdown and tables; invoices, receipts, cheques and bank statements read and checked; Aadhaar masking and redaction.

- `POST /v1/doc/markdown`: PDF or scan to Markdown
- `POST /v1/doc/tables`: Tables in a PDF or scan
- `POST /v1/doc/invoice`: Read and check a GST invoice
- `POST /v1/doc/einvoice-qr`: Read a GST e-invoice's signed QR code
- `POST /v1/doc/mask-aadhaar`: Mask an Aadhaar number in a picture (returns image)
- `POST /v1/doc/receipt`: Read a shop receipt
- `POST /v1/doc/cheque`: Read a cheque
- `POST /v1/doc/statement`: Bank statement to transactions
- `POST /v1/doc/redact`: Redact a PDF or picture (returns PDF)

## Developer tools

### [Regex tester](https://api.dharun.dev/docs/regex.md)

Run a regular expression against a text and see every match, explained.

- `GET or POST /v1/regex`: Test a regular expression

### [Fake test data](https://api.dharun.dev/docs/fake.md)

Made-up Indian people, companies and addresses for testing apps.

- `GET /v1/fake/{kind}`: Generate fake records

### [Generated images](https://api.dharun.dev/docs/images.md)

Share images, code screenshots, avatars, placeholders and charts from a URL.

- `GET /v1/og-image`: Social preview image (returns image)
- `GET or POST /v1/code-image`: Code as an image (returns image)
- `GET /v1/avatar/{name}`: Avatar with initials (returns image)
- `GET /v1/placeholder/{size}`: Placeholder image (returns image)
- `GET or POST /v1/chart`: Chart image from numbers (returns image)

### [Batch lookups](https://api.dharun.dev/docs/batch.md)

Up to 1,000 lookups in one request.

- `POST /v1/batch`: Many lookups in one request

### [README badges](https://api.dharun.dev/docs/badges.md)

Small SVG badges: market open or closed, the next holiday, a dataset's freshness, or your own.

- `GET /v1/badge`: A badge of your own (returns image)
- `GET /v1/badge/{kind}`: Market or holiday badge (returns image)
- `GET /v1/badge/dataset/{name}`: Dataset freshness badge (returns image)

### [Data format tools](https://api.dharun.dev/docs/data-tools.md)

JSON, YAML, TOML, CSV and XML to each other; text and JSON differences; spreadsheets to JSON and back.

- `GET or POST /v1/convert`: Convert between data formats
- `POST /v1/diff`: Compare two texts or JSON documents
- `POST /v1/sheet/to-json`: Spreadsheet to JSON
- `POST /v1/sheet/from-json`: JSON to a spreadsheet (returns spreadsheet)

### [Developer utilities](https://api.dharun.dev/docs/dev-utils.md)

Cron in words, UUIDs and ULIDs, hashes and HMACs, JWT decoding, user agents and time zones.

- `GET /v1/cron`: Explain a cron expression
- `GET /v1/uuid`: New UUIDs, ULIDs and nano ids
- `GET /v1/uuid/{id}`: Read a UUID or ULID
- `GET or POST /v1/hash`: Hashes and HMACs
- `GET or POST /v1/jwt/decode`: Decode a JWT
- `GET /v1/user-agent`: Read a user agent
- `GET /v1/time`: Convert a time between zones

### [Colours](https://api.dharun.dev/docs/colors.md)

Colour conversions, WCAG contrast checks and the palette of a picture.

- `GET /v1/color/{color}`: One colour every way
- `GET /v1/color/contrast`: Contrast check
- `POST /v1/color/palette`: Palette of a picture

### [Request bins](https://api.dharun.dev/docs/hooks.md)

A private address that records what is sent to it, for testing webhooks.

- `POST /v1/hooks`: Make a request bin
- `GET or POST /v1/hook/{id}`: Send to a bin
- `GET /v1/hooks/{id}`: Read a bin
- `POST /v1/hooks/{id}/delete`: Delete a bin

### [Throwaway databases](https://api.dharun.dev/docs/db.md)

A private SQLite database for a day, over HTTP.

- `POST /v1/db`: Make a database
- `POST /v1/db/{id}/query`: Run SQL
- `POST /v1/db/{id}/delete`: Delete a database

### [MCP tools](https://api.dharun.dev/docs/mcp-tools.md)

Find the right tool among the MCP server's, and connect to only the sets you need.

- `GET /v1/mcp-tools`: Search the MCP tools

### [Agent notes](https://api.dharun.dev/docs/kv.md)

A small private key-value store, for agents and scripts that must remember between runs.

- `POST /v1/kv`: Make a store
- `GET /v1/kv/{id}`: List notes
- `GET or POST /v1/kv/{id}/{key}`: Read or write a note
- `POST /v1/kv/{id}/{key}/delete`: Delete a note

## Sky and radio

### [Satellite passes](https://api.dharun.dev/docs/satellites.md)

When the ISS and amateur radio satellites pass over you, and where they are now.

- `GET /v1/sat-pass`: Passes over a place
- `GET /v1/satellites/{id}`: Where a satellite is now
- `GET /v1/satellites`: Tracked satellites

### [HF propagation](https://api.dharun.dev/docs/propagation.md)

Space weather and a rough rating of shortwave radio bands, day and night.

- `GET /v1/propagation`: Space weather and band conditions

