---
title: "Life-area timing: foreign travel and settlement"
method: POST
path: "/vedic/timing/foreign"
tags: ["Vedic"]
---

# Life-area timing: foreign travel and settlement

`POST /vedic/timing/foreign`

## Request

- Base URL: `https://api.astroway.info/v1`
- URL: `https://api.astroway.info/v1/vedic/timing/foreign`
- Auth: API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/astroway/apis/astroway-calculation-api/docs/vedic/timing/foreign/post.ts> (a function with typed inputs; its response is checked against the schema)

Foreign travel and settlement windows from the 12th and 9th houses, their lords and Rahu, 3rd supporting; KP group 3, 9, 12. Most of these rules are modern conventions and say so in `basis`. Windows over `years` (1 to 20, default 5) from `fromDate`, cut at every Vimshottari period change (`level` pratyantar by default, or antar) and every Jupiter or Saturn sign change. Each window has `score`, its `components` (dasha, transit, kp) and every rule that fired, with `basis` (classical, modern, kp) and a `source` key into `sources`. Double transit (K.N. Rao, basis modern): Jupiter and Saturn both occupy or aspect a primary house or the sign of its lord. `convergence` marks a maha or antar rule plus a double transit. `kp: true` adds KP significators. No prediction text; the weights are the API's and are returned in `rulesBasis.scoring`.

## Query parameters

- `fields` string
- `precision` integer

## Headers

- `Idempotency-Key` string

## Request body

- LifeTimingInput: Birth data (time and coordinates required: the houses come from the Lagna) and the span to scan for one life area.
  - `date` string, required
  - `time` string, required
  - `timezoneOffset` number, nullable: Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC. Ignored when timezone is sent.
  - `timezone` string: IANA zone name such as Europe/Kyiv, or auto to look the zone up from latitude and longitude. The server takes the offset that zone kept at this local date and time, summer time included, and uses it in place of timezoneOffset. A clock time that happened twice takes the first occurrence; one skipped when clocks went forward takes the offset from before the change. Abbreviations such as EST are refused. Before 1970 the tz database is not reliable for every place, so send timezoneOffset when the local clock is known.
  - `latitude` number, required
  - `longitude` number, required
  - `houseSystem` 'P' | 'K' | 'R' | 'C' | 'E' | 'W' | 'B' | 'M' | 'O' | 'A' | 'T' | 'V' | 'D' | 'F' | 'G' | 'H' | 'I' | 'i' | 'L' | 'N' | 'Q' | 'S' | 'U' | 'X' | 'Y'
  - `name` string
  - `city` string
  - `zodiacType` 'tropical' | 'sidereal'
  - `ayanamsaId` number, nullable
  - `ayanamsa` 'fagan-bradley' | 'lahiri' | 'de-luce' | 'raman' | 'krishnamurti' | 'kp' | 'yukteshwar' | 'jn-bhasin' | 'true-citra' | 'djwhal-khul': Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.
  - `cosmogram` boolean
  - `fromDate` string: Start of the span, YYYY-MM-DD (UTC). Today when omitted.
  - `years` integer: Length of the span in years, 1 to 20. Default 5.
  - `level` 'antar' | 'pratyantar': Finest dasha level that cuts the windows. pratyantar (default): maha, antar and pratyantar lords are scored. antar: maha and antar only, fewer and longer windows.
  - `kp` boolean: Add KP significators (Placidus cusps): each dasha lord scores for the houses of the area's KP group it signifies. Default false.
  - `minScore` number, nullable: Leave out windows scoring below this. Default 1: every window where at least one rule fired.

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `method` string, nullable
    - `window` object, nullable
      - `from` string, nullable
      - `to` string, nullable
      - `years` number, nullable
      - `fromJd` number, nullable
      - `toJd` number, nullable
    - `level` string, nullable
    - `natal` object, nullable
      - `lagna` object, nullable
        - `sign` string, nullable
        - `signIndex` number, nullable
      - `moonNakshatra` number, nullable
      - `ayanamsa` number, nullable
      - `houses` string, nullable
    - `area` string, nullable
    - `houses` object[], nullable
      - `house` number, nullable
      - `role` string, nullable
      - `meaning` string, nullable
      - `basis` string, nullable
      - `source` string, nullable
      - `sign` string, nullable
      - `lord` string, nullable
    - `karakas` object[], nullable
      - `graha` number, nullable
      - `meaning` string, nullable
      - `basis` string, nullable
      - `source` string, nullable
      - `name` string, nullable
    - `kpHouses` unknown
    - `sources` object, nullable
      - `dasha-phala` string, nullable
      - `drishti` string, nullable
      - `node` string, nullable
      - `double-transit` string, nullable
      - `convergence` string, nullable
      - `kp` string, nullable
      - `karaka-rahu` string, nullable
    - `windows` object[], nullable
      - `start` string, nullable
      - `end` string, nullable
      - `startJd` number, nullable
      - `endJd` number, nullable
      - `dasha` object, nullable
        - `maha` string, nullable
        - `antar` string, nullable
        - `pratyantar` string, nullable
      - `transitAtStart` object, nullable
        - `jupiter` string, nullable
        - `saturn` string, nullable
      - `score` number, nullable
      - `components` object, nullable
        - `dasha` number, nullable
        - `transit` number, nullable
        - `kp` number, nullable
      - `convergence` boolean, nullable
      - `rules` object[], nullable
        - `id` string, nullable
        - `level` string, nullable
        - `planet` string, nullable
        - `points` number, nullable
        - `basis` string, nullable
        - `source` string, nullable
        - `rule` string, nullable
    - `summary` object, nullable
      - `windows` number, nullable
      - `convergenceWindows` number, nullable
      - `maxScore` number, nullable
      - `best` object[], nullable
        - `start` string, nullable
        - `end` string, nullable
        - `score` number, nullable
        - `convergence` boolean, nullable
    - `rulesBasis` object, nullable
      - `dasha` string, nullable
      - `transit` string, nullable
      - `convergence` string, nullable
      - `scoring` object, nullable
        - `points` object, nullable
          - `lord-rules-house` object, nullable
            - `primary` number, nullable
            - `supporting` number, nullable
          - `lord-in-house` object, nullable
            - `primary` number, nullable
            - `supporting` number, nullable
          - `lord-aspects-house` object, nullable
            - `primary` number, nullable
            - `supporting` number, nullable
          - `karaka` object, nullable
            - `classical` number, nullable
            - `modern` number, nullable
          - `node-dispositor` object, nullable
            - `primary` number, nullable
            - `supporting` number, nullable
          - `double-transit-house` number, nullable
          - `double-transit-lord` number, nullable
          - `kp-significator` number, nullable
        - `levelWeight` object, nullable
          - `maha` number, nullable
          - `antar` number, nullable
          - `pratyantar` number, nullable
        - `basis` string, nullable
        - `note` string, nullable
      - `dates` string, nullable

## Other responses

- `400`: Validation error
- `401`: Missing or invalid API key

## Changes

- **2026-11-07** `69a55e116a5e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/astroway/apis/astroway-calculation-api/changes/vedic/timing/foreign/post.md)

---

[API](https://skmtc.dev/astroway/apis/astroway-calculation-api.md) - [All operations](https://skmtc.dev/astroway/apis/astroway-calculation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/astroway/apis/astroway-calculation-api/revisions/bf266b2e6703?raw)
