# Odia Anka Year API

The Anka (regnal) year of the Gajapati of Puri for a date: the Sunia (Bhadra Shukla Dwadashi) rollover, the regnal count from the accession, and the Anka with 1 and numbers ending in 6 or 0 (except 10) skipped; or a year's Sunia with the Anka before and after it.

- Endpoint: `POST https://api.96astroapi.com/v1/panchang/anka-year`
- Family: [Panchang & almanac](https://96astroapi.com/apis/panchang.md)
- Input: Specific input
- Cost: 1 credit per successful call (sandbox keys are free)
- Status: available
- Delivery: Direct response
- Output languages: en
- Web page: https://96astroapi.com/apis/panchang/anka-year

## Example request

```bash
curl https://api.96astroapi.com/v1/panchang/anka-year \
  -H "Authorization: Bearer $ASTRO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"2026-11-28"}'
```

## Response

Every response is `{ "data": …, "meta": { "request_id", "credits_used", "warnings", "language" } }`.
The full request and response schema, with a captured example, is in the OpenAPI document: https://api.96astroapi.com/v1/openapi.json (path `/v1/panchang/anka-year`).
