> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nephia.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# List trend locations

> Costs 2 credits. Returns the full WOEID catalogue from X (countries, cities, and Worldwide). No query parameters. Pass a location `woeid` to `GET /v1/x/trends?woeid=` to fetch that place's trends. Common WOEIDs: `1` Worldwide, `23424977` United States, `23424975` United Kingdom, `23424819` France, `23424775` Canada, `23424829` Germany, `23424853` Italy, `23424950` Spain, `23424856` Japan, `23424768` Brazil, `2459115` New York, `2442047` Los Angeles, `44418` London, `615702` Paris. The catalogue is upstream-owned and can change — use this endpoint as the source of truth, not a hard-coded list.



## OpenAPI

````yaml /openapi.json get /v1/x/trends/locations
openapi: 3.1.0
info:
  title: Nephia API
  description: >-
    B2B API for structured data from live Sources (Vinted, X, Reddit).
    Authenticate with an API key on your Account. Pull endpoints charge credits
    per request. Watches poll on an interval and deliver webhook events. Product
    request quota is per Account (all API keys share one bucket), by Plan: Free
    60/min, Starter 350/min, Growth 700/min, Pro 1,200/min. Credit packs do not
    raise the quota.
  version: 1.0.0
servers:
  - url: https://api.nephia.cc
    description: Production
  - url: http://localhost:3000
    description: Local
security:
  - ApiKeyAuth: []
tags:
  - name: Account
    description: Account balance
  - name: Vinted — Search
    description: Vinted catalog search
  - name: Vinted — Items
    description: Vinted listing detail
  - name: Vinted — Users
    description: Vinted sellers and wardrobes
  - name: Vinted — Reference
    description: Vinted filter metadata
  - name: Vinted — Watches
    description: Vinted watches, events, and activity
  - name: X — Tweets
    description: Tweet lookup, replies, thread, quotes, and engagers
  - name: X — Users
    description: X profiles, timelines, and social graphs
  - name: X — Search
    description: Tweet search
  - name: X — Lists
    description: X list timelines
  - name: X — Trends
    description: Trend places and snapshots
  - name: X — Watches
    description: X watches, events, and activity
  - name: Reddit — Search
    description: Reddit post, subreddit, and user search
  - name: Reddit — Posts
    description: Reddit posts, comments, duplicates, and trending
  - name: Reddit — Subreddits
    description: Subreddit profiles, listings, and rules
  - name: Reddit — Users
    description: Reddit user profiles and activity
  - name: Reddit — Watches
    description: Reddit watches, events, and activity
paths:
  /v1/x/trends/locations:
    get:
      tags:
        - X — Trends
      summary: List trend locations
      description: >-
        Costs 2 credits. Returns the full WOEID catalogue from X (countries,
        cities, and Worldwide). No query parameters. Pass a location `woeid` to
        `GET /v1/x/trends?woeid=` to fetch that place's trends. Common WOEIDs:
        `1` Worldwide, `23424977` United States, `23424975` United Kingdom,
        `23424819` France, `23424775` Canada, `23424829` Germany, `23424853`
        Italy, `23424950` Spain, `23424856` Japan, `23424768` Brazil, `2459115`
        New York, `2442047` Los Angeles, `44418` London, `615702` Paris. The
        catalogue is upstream-owned and can change — use this endpoint as the
        source of truth, not a hard-coded list.
      operationId: getV1XTrendsLocations
      responses:
        '200':
          description: Trend locations
          content:
            application/json:
              schema:
                type: object
                properties:
                  locations:
                    type: array
                    items:
                      type: object
                      properties:
                        woeid:
                          type: number
                          description: Yahoo Where On Earth ID.
                          example: 23424977
                        name:
                          type: string
                          description: Location name.
                          example: United States
                        country:
                          type:
                            - string
                            - 'null'
                          description: Country name when applicable.
                          example: United States
                        countryCode:
                          type:
                            - string
                            - 'null'
                          description: ISO country code when applicable.
                          example: US
                        placeType:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Place type from X (e.g. Country, Town, Supername for
                            Worldwide).
                          example: Country
                        parentId:
                          type:
                            - number
                            - 'null'
                          description: >-
                            Parent WOEID when nested (e.g. city → country). Null
                            for top-level places.
                          example: 1
                      required:
                        - woeid
                        - name
                        - country
                        - countryCode
                        - placeType
                        - parentId
                required:
                  - locations
        '402':
          description: Insufficient credits
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                  - error
        '429':
          description: >-
            Request quota exceeded. Retry after the `Retry-After` header
            (seconds). Response includes `RateLimit-*` headers (IETF draft-7).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                  - error
              example:
                error: Rate limit exceeded
                code: TOO_MANY_REQUESTS
        '503':
          description: Upstream temporarily unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                  - error
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key created from the Nephia dashboard for your Account.

````