---
title: "Start here for a request: anchors with aliases, needs, and the questions and facts file of each anchor"
method: GET
path: "/agents/hotels/{market}/anchors.json"
---

# Start here for a request: anchors with aliases, needs, and the questions and facts file of each anchor

`GET /agents/hotels/{market}/anchors.json`

## Request

- Base URL: `https://journeyed.org`
- URL: `https://journeyed.org/agents/hotels/{market}/anchors.json`
- Auth: none declared

Match the place in a request to an anchor (name or alias) and the need to a need id (by its words). Fetch a question jsonUrl with that need, or the anchor factsUrl to filter hotels on the need fact keys and distance.

## Path parameters

- `market` string, required

## Response `200`

Start here for a request: anchors with aliases, needs, and the questions and facts file of each anchor

- AnchorIndex: Routing index of one market (/agents/<category>/<market>/anchors.json): map a request to an anchor (name or alias) and a need, then to a question or to the anchor facts file.
  - `schemaVersion` 1, required
  - `type` 'anchor-index', required
  - `jsonUrl` string, uri, required
  - `asOf` string, date, required
  - `publisher` Publisher, required: The publisher. disclosure and parent are present only when the publisher has a parent company.
    - `name` string, required
    - `disclosure` string
    - `parent` string
  - `market` string, required
  - `description` string, required
  - `marketHubUrl` string, uri, required
  - `placesUrl` string, uri, required
  - `factIndexUrl` string, uri, required
  - `answersUrl` string, uri, required
  - `steps` string[], required
  - `needs` Need[], required
    - `id` string, required
    - `label` string, required
    - `words` string[], required
    - `factKeys` string[], required
  - `anchors` AnchorIndexEntry[], required
    - `slug` string, required
    - `name` string, required
    - `kind` string, required
    - `aliases` string[], required
    - `lat` number, required
    - `lon` number, required
    - `hubRadiusMi` number, required
    - `radiusMi` number, required: Radius of factsUrl: the hub radius or the widest radius of a published question about this anchor, whichever is larger.
    - `hotelsInRadius` integer, required
    - `url` string, uri, required
    - `jsonUrl` string, uri, required
    - `markdownUrl` string, uri, required
    - `factsUrl` string, uri, required
    - `questions` AnchorQuestion[], required
      - `need` string, required
      - `question` string, required
      - `url` string, uri, required
      - `jsonUrl` string, uri, required
      - `markdownUrl` string, uri, required
  - `marketQuestions` AnchorQuestion[], required
    - `need` string, required
    - `question` string, required
    - `url` string, uri, required
    - `jsonUrl` string, uri, required
    - `markdownUrl` string, uri, required

## Other responses

- `404`: No such page. Twins are not redirected: when a page moved or a question fell below the publish threshold, its HTML URL redirects but its .json and .md twins return 404, so re-read answers.json.

---

[API](https://skmtc.dev/journeyed/apis/journeyed-answers.md) · [All operations](https://skmtc.dev/journeyed/apis/journeyed-answers/llms.txt) · [OpenAPI document](https://skmtc.dev/journeyed/apis/journeyed-answers/revisions/16020bee9761?raw)
