Transit Aspects

Current transit aspects

POST /v2/western/transit-aspects $0.020

Overview

Current transit aspects

Request

curl -X POST "https://api.vedika.io/v2/western/transit-aspects" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "datetime": "1990-05-15T10:30:00+05:30",
    "latitude": 28.6139,
    "longitude": 77.2090
  }'

Parameters

Parameter Type Required Description
datetime string Yes Birth date/time in ISO 8601 format
latitude number Yes Birth location latitude (-90 to 90)
longitude number Yes Birth location longitude (-180 to 180)

Response

{
  "success": true,
  "data": {
    // Endpoint-specific response data
  },
  "metadata": {
    "requestId": "req_123456",
    "timestamp": "2026-01-07T00:00:00Z",
    "cost": 0.064
  }
}

Error Handling

{
  "success": false,
  "error": {
    "code": "INVALID_DATETIME",
    "message": "Invalid datetime format. Use ISO 8601.",
    "details": { ... }
  }
}

Rate Limits

  • Free Sandbox: Mock data for testing (no auth required)
  • Starter ($12/mo): 300 credits/month
  • Pro ($60/mo): 1,500 credits/month
  • Business ($120/mo): 3,000 credits/month
  • Enterprise ($240/mo): 6,000 credits/month
  • Enterprise ($240/mo): 6,000 credits + custom limits

SDKs

JavaScript/Node.js

const { VedikaClient } = require('@vedika-io/sdk');

const client = new VedikaClient({ apiKey: 'YOUR_API_KEY' });

async function main() {
  const result = await client.post('/v2/western/transit-aspects', {
    datetime: '1990-05-15T10:30:00+05:30',
    latitude: 28.6139,
    longitude: 77.209
  });
  console.log(result);
}

main().catch(console.error);

Python

from vedika import VedikaClient

client = VedikaClient(api_key="YOUR_API_KEY")
result = client.request("POST", "/v2/western/transit-aspects", json={
    "datetime": "1990-05-15T10:30:00+05:30",
    "latitude": 28.6139,
    "longitude": 77.209
})
print(result)

Ready to Build with Vedika?

Get your API key and start building astrology features today.