Rates By City
rates_by_cityGet US federal per diem rates (government travel lodging and meal allowances) for a city by name and state. Returns the monthly lodging ceiling (per-diem lodging varies by month/season) and the flat M&IE (meals & incidental expenses) daily rate. Example: rates_by_city({ city: "Denver", state: "CO" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name, e.g. "Denver", "San Francisco". | |
| year | No | Fiscal/rate year, e.g. 2026. Defaults to the current year. | |
| state | Yes | Two-letter state abbreviation, e.g. "CO", "CA". | |
| _apiKey | No | Optional — your own api.data.gov / GSA API key for higher limits; omit to use the shared Pipeworx key. |