# AI Relocation Answer API

An AI-written answer to a relocation question, grounded in the cities the service ranks for the birth (and KP analysis of the top ones); returns the answer and the ranked cities.

- Endpoint: `POST https://api.96astroapi.com/v1/ai/location-ai-analysis`
- Family: [AI interpretation](https://96astroapi.com/apis/ai.md)
- Input: Birth details
- Cost: Metered, from 15 credits per successful call (sandbox keys are free)
- Status: available
- Delivery: Direct response
- Output languages: en
- Web page: https://96astroapi.com/apis/ai/location-ai-analysis

## Options

- `fast`: Tier: fast
- `balanced`: Tier: balanced
- `deep`: Tier: deep

## Example request

```bash
curl https://api.96astroapi.com/v1/ai/location-ai-analysis \
  -H "Authorization: Bearer $ASTRO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"datetime":"1990-10-18T14:30:00","timezone":"Asia/Kolkata","latitude":28.6139,"longitude":77.209,"tier":"fast","question":"Where should I move for my career?"}'
```

## 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/ai/location-ai-analysis`).
