Skip to content
Back to skills

Cities Get {City}

ASecurity

Returns metadata for a city by name. Lookup is case-insensitive.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
ai-agentsgitapi

Works with

  • api

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add bobadilla-tech/requiems-api-skills --skill 'cities-get-{city}' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cities Get {City}?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cities Get {City}
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bobadilla-tech-cities-get-city/badge)](https://www.skillsdirectory.com/skills/bobadilla-tech-cities-get-city)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cities-get-{city}
api: Cities
method: GET
path: /v1/places/cities/{city}
base_url: https://requiems.xyz
description: Returns metadata for a city by name. Lookup is case-insensitive.
---

## Endpoint

**GET https://requiems.xyz/v1/places/cities/{city}**

## Get City Info

Returns metadata for a city by name. Lookup is case-insensitive.

## Parameters

| Name | Type | Required | Location | Description |
| ---- | ---- | -------- | -------- | ----------- |
| `city` | string | yes | path | City name to look up (e.g. london, tokyo, new york city) |

## Response Example

```json
{
  "data": {
    "name": "London",
    "country": "GB",
    "population": 7556900,
    "timezone": "Europe/London",
    "lat": 51.5085,
    "lon": -0.1257
  },
  "metadata": {
    "timestamp": "2026-01-01T00:00:00Z"
  }
}
```

## Response Fields

| Field | Type | Description |
| ----- | ---- | ----------- |
| `name` | string | Official city name as listed in the GeoNames dataset |
| `country` | string | ISO 3166-1 alpha-2 country code (uppercase) |
| `population` | integer | City population from the GeoNames dataset |
| `timezone` | string | IANA timezone identifier for the city (e.g. "America/New_York") |
| `lat` | number | Latitude of the city centre |
| `lon` | number | Longitude of the city centre |

## Errors

- `404` **not_found** — No city with that name was found in the dataset.
- `500` **internal_error** — Unexpected server error.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…