{"openapi":"3.1.0","info":{"title":"Allowances API","description":"\nAllowances API provides normalized, versioned access to U.S. Government travel per diem and overseas allowance rates from:\n\n- **GSA (General Service Administration)** CONUS per diem rates\n- **DTMO (Defense Travel Management Office / Department of War)** CONUS/OCONUS per diem rates for military personnel and contractors\n- **DSSR (Department of State)** OCONUS per diem rates and foreign allowances (e.g., COLA, hardship, LQA, danger pay, education) for foreign service personnel and contractors\n\n## Authentication\n\nYou need to include the `X-API-Key:<your api key>` header in requests to protected endpoints.<br/>\nIf you don´t, the API endpoint will return a 401 Unauthorized error.\nThe public `/v1/health` liveness check requires no API key and does not count toward your quota.\n\n## MCP server\n\nAI agents and MCP clients can call every `/v1/` endpoint as a tool through the Streamable HTTP MCP server at `https://mcp.allowancesapi.com/mcp`.\nInitialization and tool discovery need no credentials; tool calls need the same `X-API-Key` header. The tool catalogue is listed under **MCP** below.\n\n## Dates and effective rates\n\nMany endpoints accept a `date` query parameter to return the rate **effective for a specific day**.\nAccepted formats: `YYYY-MM-DD` or `YYYYMMDD`.\n\n## Verification URL\n\nYou can pass the include=verification_url query parameter to return an URL pointing to the official source for a given perdiem or allowance rate. The verification URL will dynamically include the country and location filter.\n\nExample:\n\n\thttp://api.localhost/v1/dssr/perdiem/AU/location/10244?include=verification_url\n\t\nWill include the following in the response:\n\n\t\"verification_url\": \"https://allowances.state.gov/Web920/search_action.asp?PostCode=10244&MenuHide=1&PerdiemBox=1&EffectiveDate=20260419\",\n  \n## Response shape\n\nResponses are returned as JSON with consistent field names across sources whenever possible.\n\n## Errors and request IDs\nErrors use a standardized JSON format and include a `request_id`. Every response includes an `X-Request-ID` header generated by the server.\n\n## Usage metering and quotas\n\nEach plan has a monthly request quota enforced per account (not per API key).\n\nThe Make integration requires a paid plan; requests sent by the Make app from a Sandbox account are rejected with 403.\n\n- **What counts:** every `/v1/` request that reaches a rate endpoint: GET lookups that are not served from cache, GET requests sent with `X-Bypass-Cache: true` or `Cache-Control: no-cache`, and all POST requests (calculators). One request is one unit regardless of the size of the result (a 366-day trip calculation is still one unit).\n- **What does not count:** responses served from the API cache (`X-API-Cache: HIT`), `/v1/me`, `/v1/health`, and requests rejected with 401/403 before the quota check.\n- **Billing window:** usage resets to zero at the end of your billing period. Paid plans follow their Stripe billing cycle, including while cancellation is scheduled. Sandbox accounts use consecutive calendar-month windows anchored on sign-up; after paid subscription termination, a fresh Sandbox window starts at the effective end. Anonymous Google Sheets add-on sessions use consecutive 30-day windows from the first session.\n- **Checking usage:** `GET /v1/me` returns `monthly_queries_limit`, `used_queries`, `renewal_date` (`YYYY/MM/DD`), `period_start` and `period_end` (ISO-8601, UTC). The window reported there is the one requests are counted against.\n- **Over quota:** requests return `429 Too Many Requests` with `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Used`, `X-RateLimit-Reset` (seconds until the period ends) and `X-RateLimit-Period-End` (Unix timestamp).\n\n\n_Not affiliated with any government agency. Data is sourced from official public tables._\n","version":"v1.0.0"},"servers":[{"url":"https://api.allowancesapi.com"}],"paths":{"/v1/dssr/allowances/{country_iso_code}":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"DSSR allowances by country","description":"Returns State Department (DSSR) allowance rates for every post in a country: cost-of-living (COLA),\nhardship differential, living quarters (LQA), danger pay and education allowances, plus each post's per\ndiem, in force today or on `date`. `type` selects which allowances. For one post use\nget_allowances_by_location or get_allowances_by_postcode; for DoD rates use the DTMO tools.\nPosts the State Department removed return no allowances after their last listing. History starts on 2008-01-01.","operationId":"get_allowances","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"country_iso_code","in":"path","required":true,"schema":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"type","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"title":"Allowance type","description":"Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.","enum":["cola","hardship","lqa","danger_pay","education"]},"description":"Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.","examples":{"cola":{"value":"cola","summary":"Cost of Living Allowance (COLA)"},"hardship":{"value":"hardship","summary":"Hardship Differential"},"lqa":{"value":"lqa","summary":"Living Quarters Allowance"},"danger_pay":{"value":"danger_pay","summary":"Danger Pay"},"education":{"value":"education","summary":"Education Allowance"}}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSSRAllowancesResponse"},"examples":{"dssr_allowances_lu":{"summary":"Country COLA rates","description":"Response to GET /v1/dssr/allowances/LU?date=2026-07-11&type=cola&verification_url=true. Post allowance is a percentage.","value":{"effective_date":"2026-06-28","verification_url":"https://allowances.state.gov/Web920/search_action.asp?PostCode=11063&MenuHide=1&COLABox=1&EffectiveDate=20260628","results":[{"country":"Luxembourg","iso_code":"LU","location":"Luxembourg","postcode":"11063","cola":{"effective_date":"2026-06-28","post_allowance":50},"hardship":null,"lqa":null,"danger_pay":null,"education":null,"perdiem":null}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}}}},"/v1/dssr/allowances/{country_iso_code}/location/{location}":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"DSSR allowances by location name","description":"Returns DSSR allowances (COLA, hardship, LQA, danger pay, education, per diem) for one post in a country\nmatched by name, case-insensitive and partial ('toky' finds Tokyo), today or on `date`. Find exact post\nnames with get_dssr_locations_by_country or search_perdiem. Use get_allowances_by_postcode when the DSSR\npost code is known, get_allowances for every post in the country.\nPosts the State Department removed return no allowances after their last listing. History starts on 2008-01-01.","operationId":"get_allowances_by_location","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"location","in":"path","required":true,"schema":{"type":"string","description":"Location name, case insensitive","openapi_examples":{"adelaide":{"summary":"Adelaide, Australia","value":"Adelaide"},"tokyo":{"summary":"Tokyo, Japan (lowercase)","value":"tokyo"},"partial":{"summary":"Tokyo, Japan (partial)","value":"toky"}},"title":"Location"}},{"name":"country_iso_code","in":"path","required":true,"schema":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"type","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"title":"Allowance type","description":"Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.","enum":["cola","hardship","lqa","danger_pay","education"]},"description":"Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.","examples":{"cola":{"value":"cola","summary":"Cost of Living Allowance (COLA)"},"hardship":{"value":"hardship","summary":"Hardship Differential"},"lqa":{"value":"lqa","summary":"Living Quarters Allowance"},"danger_pay":{"value":"danger_pay","summary":"Danger Pay"},"education":{"value":"education","summary":"Education Allowance"}}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSSRAllowancesResponse"},"examples":{"dssr_allowances_lu_location_luxembourg":{"summary":"COLA rates by location","description":"Response to GET /v1/dssr/allowances/LU/location/Luxembourg?date=2026-07-11&type=cola&verification_url=true. Post allowance is a percentage.","value":{"effective_date":"2026-06-28","verification_url":"https://allowances.state.gov/Web920/search_action.asp?PostCode=11063&MenuHide=1&COLABox=1&EffectiveDate=20260628","results":[{"country":"Luxembourg","iso_code":"LU","location":"Luxembourg","postcode":"11063","cola":{"effective_date":"2026-06-28","post_allowance":50},"hardship":null,"lqa":null,"danger_pay":null,"education":null,"perdiem":null}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}}}},"/v1/dssr/allowances/{country_iso_code}/postcode/{postcode}":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"DSSR allowances by location post code","description":"Returns DSSR allowances (COLA, hardship, LQA, danger pay, education, per diem) for the post identified by\nits five-digit DSSR post code, today or on `date`. Post codes are the State Department's own identifiers\nand come back in every DSSR result, so this is the most precise lookup. Use get_allowances_by_location\nfor a name, get_allowances for the whole country.\nPosts the State Department removed return no allowances after their last listing. History starts on 2008-01-01.","operationId":"get_allowances_by_postcode","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"postcode","in":"path","required":true,"schema":{"type":"integer","maximum":99999,"minimum":10000,"title":"DSSR post code","description":"5-digit DSSR post code (no zero-padding)"},"description":"5-digit DSSR post code (no zero-padding)","examples":{"adelaide":{"summary":"Adelaide, Australia","value":12345},"buenos_aires":{"summary":"Buenos Aires, Argentina","value":10016}}},{"name":"country_iso_code","in":"path","required":true,"schema":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"type","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"title":"Allowance type","description":"Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.","enum":["cola","hardship","lqa","danger_pay","education"]},"description":"Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.","examples":{"cola":{"value":"cola","summary":"Cost of Living Allowance (COLA)"},"hardship":{"value":"hardship","summary":"Hardship Differential"},"lqa":{"value":"lqa","summary":"Living Quarters Allowance"},"danger_pay":{"value":"danger_pay","summary":"Danger Pay"},"education":{"value":"education","summary":"Education Allowance"}}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSSRAllowancesResponse"},"examples":{"dssr_allowances_lu_postcode_11063":{"summary":"COLA rates by postcode","description":"Response to GET /v1/dssr/allowances/LU/postcode/11063?date=2026-07-11&type=cola&verification_url=true. Post allowance is a percentage.","value":{"effective_date":"2026-06-28","verification_url":"https://allowances.state.gov/Web920/search_action.asp?PostCode=11063&MenuHide=1&COLABox=1&EffectiveDate=20260628","results":[{"country":"Luxembourg","iso_code":"LU","location":"Luxembourg","postcode":"11063","cola":{"effective_date":"2026-06-28","post_allowance":50},"hardship":null,"lqa":null,"danger_pay":null,"education":null,"perdiem":null}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}}}},"/v1/dssr/perdiem/search":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"Search DSSR Per Diem by country/location name","description":"Finds DSSR per diem by a partial, case-insensitive country or post name of at least three characters,\nwith no country code needed. Returns lodging, M&IE and maximum per diem per matching post, today or on\n`date`, with the post code for precise follow-up lookups. A name that matches nothing is a 404 error, not\nan empty list. Once the ISO code is known, the country tools are more precise.","operationId":"search_perdiem","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":3,"description":"Required case-insensitive substring of a location or country name; at least three characters after trimming.","title":"Q"},"description":"Required case-insensitive substring of a location or country name; at least three characters after trimming."},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSSRPerDiemResponse"},"examples":{"dssr_perdiem_search":{"summary":"Search Luxembourg per diem","description":"Response to GET /v1/dssr/perdiem/search?q=Luxembourg&date=2026-07-11. Amounts are in USD per day.","value":{"effective_date":"2026-07-01","verification_url":null,"results":[{"country":"Luxembourg","iso_code":"LU","location":"Luxembourg","postcode":"11063","perdiem":[{"lodging":366,"meals_incidental":138,"maximum_perdiem":504,"season":"S1","season_begin":"01/01","season_end":"12/31","publish_date":"2026-07-01","effective_date":"2025-08-01","footnote_reference":null}]}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"Search DSSR per diem by name"}}},"/v1/dssr/perdiem/{country_iso_code}":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"DSSR per diem by country","description":"Returns State Department (DSSR) per diem for every post in a country: lodging, M&IE and maximum per diem\nin USD per day, today or on `date`. For one post use get_perdiem_allowance_by_location or\nget_perdiem_allowance_by_postcode; for a place name without a country code use search_perdiem. For\nDepartment of Defense travel use get_dtmo_perdiem_oconus.","operationId":"get_perdiem_allowance","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"country_iso_code","in":"path","required":true,"schema":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSSRPerDiemResponse"},"examples":{"dssr_perdiem_lu":{"summary":"Country per diem with verification","description":"Response to GET /v1/dssr/perdiem/LU?date=2026-07-11&verification_url=true. Amounts are in USD per day.","value":{"effective_date":"2026-07-01","verification_url":"https://allowances.state.gov/Web920/search_action.asp?PostCode=11063&MenuHide=1&PerdiemBox=1&EffectiveDate=20260701","results":[{"country":"Luxembourg","iso_code":"LU","location":"Luxembourg","postcode":"11063","perdiem":[{"lodging":366,"meals_incidental":138,"maximum_perdiem":504,"season":"S1","season_begin":"01/01","season_end":"12/31","publish_date":"2026-07-01","effective_date":"2025-08-01","footnote_reference":null}]}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}}}},"/v1/dssr/perdiem/{country_iso_code}/location/{location}":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"DSSR per diem by location name","description":"Returns DSSR per diem (lodging, M&IE and maximum per diem in USD per day) for one post in a country\nmatched by name, case-insensitive and partial, today or on `date`. Find exact post names with\nget_dssr_locations_by_country or search_perdiem. Use get_perdiem_allowance for the whole country,\nget_perdiem_allowance_by_postcode for a known post code.","operationId":"get_perdiem_allowance_by_location","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"location","in":"path","required":true,"schema":{"type":"string","description":"Location name, case insensitive","openapi_examples":{"adelaide":{"summary":"Adelaide, Australia","value":"Adelaide"},"tokyo":{"summary":"Tokyo, Japan (lowercase)","value":"tokyo"},"partial":{"summary":"Tokyo, Japan (partial)","value":"toky"}},"title":"Location"}},{"name":"country_iso_code","in":"path","required":true,"schema":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSSRPerDiemResponse"},"examples":{"dssr_perdiem_lu_location_luxembourg":{"summary":"Per diem by location","description":"Response to GET /v1/dssr/perdiem/LU/location/Luxembourg?date=2026-07-11&verification_url=true. Amounts are in USD per day.","value":{"effective_date":"2026-07-01","verification_url":"https://allowances.state.gov/Web920/search_action.asp?PostCode=11063&MenuHide=1&PerdiemBox=1&EffectiveDate=20260701","results":[{"country":"Luxembourg","iso_code":"LU","location":"Luxembourg","postcode":"11063","perdiem":[{"lodging":366,"meals_incidental":138,"maximum_perdiem":504,"season":"S1","season_begin":"01/01","season_end":"12/31","publish_date":"2026-07-01","effective_date":"2025-08-01","footnote_reference":null}]}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}}}},"/v1/dssr/perdiem/{country_iso_code}/postcode/{postcode}":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"DSSR per diem by location post code","description":"Returns DSSR per diem (lodging, M&IE and maximum per diem in USD per day) for the post identified by its\nfive-digit DSSR post code, today or on `date`. Every DSSR result carries the post code, so use it for\nfollow-up lookups. Use get_perdiem_allowance_by_location for a name, get_perdiem_allowance for the whole\ncountry.","operationId":"get_perdiem_allowance_by_postcode","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"postcode","in":"path","required":true,"schema":{"type":"integer","maximum":99999,"minimum":10000,"title":"DSSR post code","description":"5-digit DSSR post code (no zero-padding)"},"description":"5-digit DSSR post code (no zero-padding)","examples":{"adelaide":{"summary":"Adelaide, Australia","value":12345},"buenos_aires":{"summary":"Buenos Aires, Argentina","value":10016}}},{"name":"country_iso_code","in":"path","required":true,"schema":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSSRPerDiemResponse"},"examples":{"dssr_perdiem_lu_postcode_11063":{"summary":"Per diem by postcode","description":"Response to GET /v1/dssr/perdiem/LU/postcode/11063?date=2026-07-11&verification_url=true. Amounts are in USD per day.","value":{"effective_date":"2026-07-01","verification_url":"https://allowances.state.gov/Web920/search_action.asp?PostCode=11063&MenuHide=1&PerdiemBox=1&EffectiveDate=20260701","results":[{"country":"Luxembourg","iso_code":"LU","location":"Luxembourg","postcode":"11063","perdiem":[{"lodging":366,"meals_incidental":138,"maximum_perdiem":504,"season":"S1","season_begin":"01/01","season_end":"12/31","publish_date":"2026-07-01","effective_date":"2025-08-01","footnote_reference":null}]}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}}}},"/v1/dssr/locations":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"List DSSR locations","description":"Returns a paginated list of every DSSR post with its country, ISO code and post name; `q` filters by\ncase-insensitive substring. `total` counts every match regardless of `offset` and `limit`. Use it to find\nthe exact post name for the by-location tools when the country is unknown; get_dssr_locations_by_country\nis shorter when it is known. Returns no rates.","operationId":"get_dssr_locations","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2},{"type":"null"}],"description":"Search by name","title":"Q"},"description":"Search by name"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedLocationResponse"},"examples":{"dssr_locations":{"summary":"One matching location with pagination","description":"Response to GET /v1/dssr/locations?q=Brussels&offset=0&limit=1.","value":{"total":1,"offset":0,"limit":1,"items":[{"country":"Belgium","iso_code":"BE","name":"Brussels","source":"dssr"}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"List DSSR posts"}}},"/v1/dssr/countries":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"Resolve a country name to its ISO code and list its posts","description":"Resolves a country name to its ISO alpha-2 code and lists the names of its DSSR posts; `q` matches the\ncountry name case-insensitively ('papua' finds PG). Use it before any tool that needs a country code. ZZ\nstands for Other Foreign Localities, not a country. Returns no rates.","operationId":"get_countries","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2},{"type":"null"}],"description":"Search by country name","title":"Q"},"description":"Search by country name"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":300,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CountryResponse"},"title":"Response Get Countries V1 Dssr Countries Get"},"examples":{"dssr_countries":{"summary":"Resolve Luxembourg and its posts","description":"Response to GET /v1/dssr/countries?q=Luxembourg&limit=1&offset=0.","value":[{"name":"Luxembourg","iso_code":"LU","locations":["Luxembourg"],"notes":[]}]}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"Find country code and posts"}}},"/v1/dssr/country/{country_iso_code}":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"Get country by ISO code","description":"Returns one country by ISO alpha-2 code: its name, the names of its DSSR posts and State Department\nnotes. Use get_countries to find the code from a name, and get_dssr_locations_by_country when the post\ncodes are needed too. Returns no rates.","operationId":"get_country","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"country_iso_code","in":"path","required":true,"schema":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountryResponse"},"examples":{"dssr_country_lu":{"summary":"Country and location names","description":"Response to GET /v1/dssr/country/LU.","value":{"name":"Luxembourg","iso_code":"LU","locations":["Luxembourg"],"notes":[]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"Country by ISO code"}}},"/v1/dssr/country/{country_iso_code}/locations":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"List DSSR locations by country","description":"Returns the DSSR posts of a country by ISO alpha-2 code, each with its name and five-digit post code\n(`external_id`), as needed by the by-location and by-postcode tools. Use get_countries to resolve a name\nto the code. Returns no rates.","operationId":"get_dssr_locations_by_country","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"country_iso_code","in":"path","required":true,"schema":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountryResponseWithLocations"},"examples":{"dssr_country_lu_locations":{"summary":"Country posts with identifiers","description":"Response to GET /v1/dssr/country/LU/locations.","value":{"name":"Luxembourg","iso_code":"LU","locations":[{"name":"Luxembourg","external_id":"11063","source":"dssr"}],"notes":[]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"DSSR posts in a country"}}},"/v1/dssr/cola-calculator/postcode/{postcode}":{"get":{"tags":["DSSR - OCONUS locations"],"summary":"DSSR COLA calculator by postcode","description":"Calculates the DSSR cost-of-living allowance (COLA) for a post: the COLA rate in percent and the annual and biweekly USD amounts for the given base salary and family size, today or on `date`. The post is identified by its five-digit DSSR post code (see get_dssr_locations_by_country). Use get_allowances for the COLA rate alone. History starts on 2008-01-01.","operationId":"cola_calculator_by_postcode","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"postcode","in":"path","required":true,"schema":{"type":"integer","maximum":99999,"minimum":10000,"title":"DSSR post code","description":"5-digit DSSR post code (no zero-padding)"},"description":"5-digit DSSR post code (no zero-padding)","examples":{"adelaide":{"summary":"Adelaide, Australia","value":12345},"buenos_aires":{"summary":"Buenos Aires, Argentina","value":10016}}},{"name":"family_size","in":"query","required":true,"schema":{"type":"integer","minimum":1,"description":"The number of family members, including the FS/DoS employee/contractor","title":"Family Size"},"description":"The number of family members, including the FS/DoS employee/contractor","examples":{"single":{"summary":"Single Family Member","value":1},"married":{"summary":"Married Family Member","value":2},"two_children":{"summary":"Married with two children","value":4}}},{"name":"base_salary","in":"query","required":true,"schema":{"type":"integer","minimum":1000,"description":"Basic annual salary, excluding U.S. locality pay; including Overseas Comparability Pay.","title":"Base Salary"},"description":"Basic annual salary, excluding U.S. locality pay; including Overseas Comparability Pay."},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSSRColaCalulatorResponse"},"examples":{"dssr_cola_calculator_postcode_11063":{"summary":"COLA for a two-person family","description":"Response to GET /v1/dssr/cola-calculator/postcode/11063?date=2026-07-11&family_size=2&base_salary=100000. Salary and allowance amounts are in USD; cola_rate is a percentage.","value":{"effective_date":"2026-06-28","base_salary":100000,"family_size":2,"cola_rate":50,"annual_cola":20900,"biweekly_cola":802}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"DSSR COLA calculator"}}},"/v1/gsa/perdiem/destination/{destination_id}":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"GSA per diem rate by destination","description":"Return the GSA per diem rate in effect for a specific GSA destination on a given date. A destination is a rate area defined by GSA and may represent a city, metropolitan area, county, or the Standard CONUS area. It is not necessarily a single municipality.\n\n`destination_id` is the numeric identifier assigned to that GSA rate area in the source data. Use [`GET /v1/gsa/destinations`](/docs#tag/GSA---CONUS-locations/operation/get_destinations_v1_gsa_destinations_get) to browse the available destinations and find the ID for the location you need. Destination ID `0` represents the Standard CONUS rate.\n\nThe response contains the seasonal lodging rate applicable on the requested date and the daily meals and incidental expenses (M&IE) rate. When `date` is omitted, today's rate is returned. Set `verification_url=true` to include the corresponding official GSA lookup URL.","operationId":"get_gsa_perdiem_by_destination","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"destination_id","in":"path","required":true,"schema":{"type":"integer","description":"GSA's numeric identifier for a rate area. Retrieve valid IDs from `GET /v1/gsa/destinations`; ID 0 is the Standard CONUS rate.","title":"Destination Id"},"description":"GSA's numeric identifier for a rate area. Retrieve valid IDs from `GET /v1/gsa/destinations`; ID 0 is the Standard CONUS rate.","examples":{"washington":{"summary":"Washington, DC rate area","value":75},"standard_conus":{"summary":"Standard CONUS rate","value":0}}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","description":"Include the official GSA per diem lookup URL in the response when true.","default":false,"title":"Verification Url"},"description":"Include the official GSA per diem lookup URL in the response when true.","examples":{"omit":{"summary":"Omit the verification URL","value":false},"include":{"summary":"Include the verification URL","value":true}}}],"responses":{"200":{"description":"A per diem rate was found for the destination and date.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSAPerDiemResponse"},"example":{"effective_date":"2025-10-01","verification_url":"https://www.gsa.gov/travel/plan-book/per-diem-rates/per-diem-rates-results?action=perdiems_report&fiscal_year=2026&state=DC&city=&zip=","results":[{"state":"District of Columbia","iso_code":"US-DC","destination_id":75,"destination":"Washington","county":"District of Columbia","season_begin":"03/01","season_end":"06/30","lodging":276,"meals_incidental":92,"effective_date":"2025-10-01"}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"The destination does not exist, or it has no rate for the requested date.","content":{"application/json":{"examples":{"destination_not_found":{"summary":"Unknown destination ID","value":{"detail":{"message":"Destination ID 999999 not found. Query the endpoint /destinations to get the list of existing ids.","request_id":"req_abc123def456","url":"/v1/gsa/perdiem/destination/999999"}}},"rate_not_available":{"summary":"Destination exists but has no rate for the date","value":{"detail":{"message":"The destination 'Washington' is valid, but no per diem rates are available for fiscal_year 2000.","request_id":"req_abc123def456","url":"/v1/gsa/perdiem/destination/75?date=2000-01-01"}}},"future_fiscal_year_not_available":{"summary":"Requested fiscal year has not been loaded","value":{"detail":{"message":"GSA per diem rates for requested date 2027-08-30 (fiscal year 2027) are not available. The latest available fiscal year is 2026, covering dates through 2026-09-30.","request_id":"req_abc123def456","url":"/v1/gsa/perdiem/destination/75?date=2027-08-30"}}}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Returns the GSA per diem of one GSA destination rate area (a city, county, metro area or the Standard CONUS area, ID 0) in effect today or on `date`: the seasonal lodging rate and daily M&IE in USD. Destination IDs come from get_destinations or any GSA per diem result. When the ID is unknown use get_gsa_perdiem_by_zipcode or get_gsa_perdiem_by_state."}}},"/v1/gsa/perdiem/state/{state_iso}":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"GSA per diem rates by state and date","description":"Return every GSA destination rate in a state that applies on a specific date. Each result contains the seasonal lodging rate in effect on that date and the daily meals and incidental expenses (M&IE) rate. When `date` is omitted, today's rates are returned.\n\nUse the optional `location` parameter to filter by a GSA destination or location-defined name. Matching is case-insensitive and accepts partial names. If the state has no non-standard destination rate, the Standard CONUS rate is returned. This endpoint covers GSA CONUS rates; unsupported or unknown state codes return 404.\n\nSet `verification_url=true` to include the corresponding official GSA state lookup URL.","operationId":"get_gsa_perdiem_by_state","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"state_iso","in":"path","required":true,"schema":{"type":"string","description":"Two-letter US postal abbreviation for the state or District of Columbia.","title":"State Iso"},"description":"Two-letter US postal abbreviation for the state or District of Columbia.","examples":{"district_of_columbia":{"summary":"District of Columbia","value":"DC"},"massachusetts":{"summary":"Massachusetts","value":"MA"}}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional case-insensitive partial match against the GSA destination name or location-defined name.","title":"Location"},"description":"Optional case-insensitive partial match against the GSA destination name or location-defined name.","examples":{"washington":{"summary":"Filter for Washington","value":"Washington"},"partial":{"summary":"Partial, case-insensitive match","value":"wash"}}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","description":"Include the official GSA state lookup URL in the response when true.","default":false,"title":"Verification Url"},"description":"Include the official GSA state lookup URL in the response when true.","examples":{"omit":{"summary":"Omit the verification URL","value":false},"include":{"summary":"Include the verification URL","value":true}}}],"responses":{"200":{"description":"Per diem rates were found for the state and date.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSAPerDiemResponse"},"example":{"effective_date":"2025-10-01","verification_url":"https://www.gsa.gov/travel/plan-book/per-diem-rates/per-diem-rates-results?action=perdiems_report&fiscal_year=2026&state=DC&city=&zip=","results":[{"state":"District of Columbia","iso_code":"US-DC","destination_id":75,"destination":"Washington","county":"District of Columbia","season_begin":"03/01","season_end":"06/30","lodging":276,"meals_incidental":92,"effective_date":"2025-10-01"}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"The state is unsupported or unknown, or no rate matches the location and date.","content":{"application/json":{"examples":{"state_not_found":{"summary":"Unknown or unsupported state","value":{"detail":{"message":"US State US-ZZ not found.","request_id":"req_abc123def456","url":"/v1/gsa/perdiem/state/ZZ?date=2026-03-15"}}},"location_rate_not_found":{"summary":"Location has no applicable rate in the requested state","value":{"detail":{"message":"The location 'Worcester' is valid, but no per diem rates are available for fiscal_year 2026.","request_id":"req_abc123def456","url":"/v1/gsa/perdiem/state/DC?date=2026-03-15&location=Worcester"}}},"future_fiscal_year_not_available":{"summary":"Requested fiscal year has not been loaded","value":{"detail":{"message":"GSA per diem rates for requested date 2027-08-30 (fiscal year 2027) are not available. The latest available fiscal year is 2026, covering dates through 2026-09-30.","request_id":"req_abc123def456","url":"/v1/gsa/perdiem/state/CA?date=2027-08-30"}}}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Returns every GSA destination rate in a US state (US-XX) in effect today or on `date`: seasonal lodging and daily M&IE in USD per destination, with its county. `location` filters by destination or defined-area name, case-insensitive and partial. A state with no non-standard destination returns the Standard CONUS rate. CONUS only: for Alaska, Hawaii, territories and abroad use the DTMO or DSSR tools."}}},"/v1/gsa/perdiem/state/{state_iso}/year/{year}":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"GSA per diem rates by state and fiscal year","description":"Return every GSA destination rate in a US state (US-XX) for a US fiscal year (October 1 to September 30): the lodging rate for every month and the daily M&IE rate per destination. The optional `location` filters destinations by GSA destination or defined-area name, case-insensitive and partial. Set `verification_url=true` to include the official GSA state lookup URL. Use get_gsa_perdiem_by_state for the rate on one date.","operationId":"get_gsa_perdiem_by_state_year","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"state_iso","in":"path","required":true,"schema":{"type":"string","description":"Two-letter US postal abbreviation for the state or District of Columbia.","title":"State Iso"},"description":"Two-letter US postal abbreviation for the state or District of Columbia.","examples":{"district_of_columbia":{"summary":"District of Columbia","value":"DC"},"massachusetts":{"summary":"Massachusetts","value":"MA"}}},{"name":"year","in":"path","required":true,"schema":{"type":"integer","description":"Four-digit US fiscal year. Fiscal year 2026 runs from 2025-10-01 through 2026-09-30. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Year"},"description":"Four-digit US fiscal year. Fiscal year 2026 runs from 2025-10-01 through 2026-09-30. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"fy2026":{"summary":"Fiscal year 2026","value":2026}}},{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional case-insensitive partial match against the GSA destination name or location-defined name.","title":"Location"},"description":"Optional case-insensitive partial match against the GSA destination name or location-defined name.","examples":{"washington":{"summary":"Filter for Washington","value":"Washington"},"partial":{"summary":"Partial, case-insensitive match","value":"wash"}}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","description":"Include the official GSA state lookup URL in the response when true.","default":false,"title":"Verification Url"},"description":"Include the official GSA state lookup URL in the response when true.","examples":{"omit":{"summary":"Omit the verification URL","value":false},"include":{"summary":"Include the verification URL","value":true}}}],"responses":{"200":{"description":"Annual per diem rates found for the state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSAPerDiemYearResponse"},"example":{"effective_date":"2025-10-01","verification_url":"https://www.gsa.gov/travel/plan-book/per-diem-rates/per-diem-rates-results?action=perdiems_report&fiscal_year=2026&city=&state=DC","results":[{"state":"District of Columbia","iso_code":"US-DC","destination_id":75,"destination":"Washington","county":"District of Columbia","lodging":{"oct":275,"nov":196,"dec":196,"jan":196,"feb":196,"mar":276,"apr":276,"may":276,"jun":276,"jul":183,"aug":183,"sep":275},"meals_incidental":92}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"No per diem rates match the requested state, fiscal year, and optional location.","content":{"application/json":{"examples":{"state_or_year_unavailable":{"summary":"State or fiscal year has no rates","value":{"detail":{"message":"The state 'US-ZZ' is valid, but no per diem rates are available for fiscal_year 2026.","request_id":"req_f855b52f83ba","url":"/v1/gsa/perdiem/state/ZZ/year/2026"}}},"location_unavailable":{"summary":"Location filter has no matching rates","value":{"detail":{"message":"The state 'US-DC' is valid, but no per diem rates are available for fiscal_year 2026.","request_id":"req_abc123def456","url":"/v1/gsa/perdiem/state/DC/year/2026?location=NoSuchLocation"}}}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}}}},"/v1/gsa/perdiem/zipcode/{zipcode}":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"GSA per diem rates by ZIP code and date","description":"Return every GSA destination rate associated with a US ZIP code that applies on a specific date. Each result contains the seasonal lodging rate in effect on that date and the daily meals and incidental expenses (M&IE) rate. When `date` is omitted, today's rates are returned.\n\nA ZIP code can map to more than one GSA destination. When that happens, `results` contains every applicable rate, and the API does not choose one automatically. Use the returned county or a geocoder to determine which destination applies to the travel location. If a known ZIP code has no non-standard destination, the Standard CONUS rate is returned.\n\nThe path accepts either a five-digit ZIP code or ZIP+4. ZIP+4 values are normalized to their first five digits. Set `verification_url=true` to include the corresponding official GSA lookup URL.","operationId":"get_gsa_perdiem_by_zipcode","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"zipcode","in":"path","required":true,"schema":{"type":"string","description":"Five-digit US ZIP code, or ZIP+4. ZIP+4 values are normalized to the first five digits.","title":"Zipcode"},"description":"Five-digit US ZIP code, or ZIP+4. ZIP+4 values are normalized to the first five digits.","examples":{"ambiguous":{"summary":"ZIP with multiple GSA destinations","value":"01366"},"zip_plus_four":{"summary":"ZIP+4","value":"01366-1234"}}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","description":"Include the official GSA per diem lookup URL in the response when true.","default":false,"title":"Verification Url"},"description":"Include the official GSA per diem lookup URL in the response when true.","examples":{"omit":{"summary":"Omit the verification URL","value":false},"include":{"summary":"Include the verification URL","value":true}}}],"responses":{"200":{"description":"Per diem rates were found for the ZIP code and date.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSAPerDiemResponse"},"example":{"effective_date":"2025-10-01","verification_url":"https://www.gsa.gov/travel/plan-book/per-diem-rates/per-diem-rates-results?action=perdiems_report&fiscal_year=2026&state=US&city=&zip=","results":[{"state":"US Standard","iso_code":"US-US","destination_id":0,"destination":"Standard Rate","county":"CONUS","season_begin":"10/01","season_end":"09/30","lodging":110,"meals_incidental":68,"effective_date":"2025-10-01"},{"state":"Massachusetts","iso_code":"US-MA","destination_id":160,"destination":"Worcester","county":"Worcester","season_begin":"10/01","season_end":"09/30","lodging":135,"meals_incidental":80,"effective_date":"2025-10-01"}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"The ZIP code is unknown, or no per diem rate is available for the requested date.","content":{"application/json":{"examples":{"zipcode_not_found":{"summary":"Unknown ZIP code","value":{"detail":{"message":"Zip code '00000' does not exist in our database.","request_id":"req_abc123def456","url":"/v1/gsa/perdiem/zipcode/00000?date=2026-01-15"}}},"future_fiscal_year_not_available":{"summary":"Requested fiscal year has not been loaded","value":{"detail":{"message":"GSA per diem rates for requested date 2027-08-30 (fiscal year 2027) are not available. The latest available fiscal year is 2026, covering dates through 2026-09-30.","request_id":"req_abc123def456","url":"/v1/gsa/perdiem/zipcode/01366?date=2027-08-30"}}}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Returns the GSA per diem for a US ZIP code (five digits or ZIP+4) in effect today or on `date`: seasonal lodging and daily M&IE in USD. A ZIP can map to several destinations; then every rate is returned with its county and none is chosen for you. A ZIP with no non-standard destination returns the Standard CONUS rate. Use get_gsa_perdiem_by_zipcode_year for a whole fiscal year."}}},"/v1/gsa/perdiem/zipcode/{zipcode}/year/{year}":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"GSA per diem rates by ZIP code and fiscal year","description":"Return the GSA lodging rates for every month of a US fiscal year and the daily meals and incidental expenses (M&IE) rate associated with a ZIP code. A US fiscal year begins October 1 of the preceding calendar year and ends September 30.\n\nA ZIP code can map to more than one GSA destination. When that happens, `results` contains every applicable rate. The API does not choose a destination automatically; use the returned county or a geocoder to determine which rate applies. ZIP codes without a non-standard destination return the Standard CONUS rate.\n\nZIP+4 input is accepted and normalized to its first five digits. Set `verification_url=true` to include the corresponding official GSA lookup URL.","operationId":"get_gsa_perdiem_by_zipcode_year","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"zipcode","in":"path","required":true,"schema":{"type":"string","description":"Five-digit US ZIP code, or ZIP+4. ZIP+4 values are normalized to the first five digits.","title":"Zipcode"},"description":"Five-digit US ZIP code, or ZIP+4. ZIP+4 values are normalized to the first five digits.","examples":{"ambiguous":{"summary":"ZIP with multiple GSA destinations","value":"01366"},"zip_plus_four":{"summary":"ZIP+4","value":"01366-1234"}}},{"name":"year","in":"path","required":true,"schema":{"type":"integer","description":"Four-digit US fiscal year. Fiscal year 2026 runs from 2025-10-01 through 2026-09-30. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Year"},"description":"Four-digit US fiscal year. Fiscal year 2026 runs from 2025-10-01 through 2026-09-30. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"fy2026":{"summary":"Fiscal year 2026","value":2026}}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","description":"Include the official GSA ZIP-code lookup URL in the response when true.","default":false,"title":"Verification Url"},"description":"Include the official GSA ZIP-code lookup URL in the response when true.","examples":{"omit":{"summary":"Omit the verification URL","value":false},"include":{"summary":"Include the verification URL","value":true}}}],"responses":{"200":{"description":"Annual per diem rates found for the ZIP code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSAPerDiemYearResponse"},"example":{"effective_date":"2025-10-01","verification_url":"https://www.gsa.gov/travel/plan-book/per-diem-rates/per-diem-rates-results?action=perdiems_report&fiscal_year=2026&city=&zip=01366","results":[{"state":"US Standard","iso_code":"US-US","destination_id":0,"destination":"Standard Rate","county":"CONUS","lodging":{"oct":110,"nov":110,"dec":110,"jan":110,"feb":110,"mar":110,"apr":110,"may":110,"jun":110,"jul":110,"aug":110,"sep":110},"meals_incidental":68},{"state":"Massachusetts","iso_code":"US-MA","destination_id":160,"destination":"Worcester","county":"Worcester","lodging":{"oct":135,"nov":135,"dec":135,"jan":135,"feb":135,"mar":135,"apr":135,"may":135,"jun":135,"jul":135,"aug":135,"sep":135},"meals_incidental":80}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"The ZIP code does not exist in the database.","content":{"application/json":{"example":{"detail":{"message":"Zip code '00000' does not exist in our database.","request_id":"req_48e75f4cb846","url":"/v1/gsa/perdiem/zipcode/00000/year/2026"}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Returns the GSA lodging rate for every month of a US fiscal year (October 1 to September 30) and the daily M&IE, in USD, for a US ZIP code (five digits or ZIP+4). A ZIP can map to several destinations; then every rate is returned with its county and none is chosen for you. A ZIP with no non-standard destination returns the Standard CONUS rate. Use get_gsa_perdiem_by_zipcode for the rate on one date."}}},"/v1/gsa/zipcode/{zipcode}":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"Get ZIP code metadata","description":"Look up every state associated with a US ZIP code. Most ZIP codes belong to one state, but some cross state boundaries. In that case, `states` contains every matching state; the API does not choose one on the caller's behalf. This is a geographic metadata endpoint; it does not return GSA per diem rates. Use `/v1/gsa/perdiem/zipcode/{zipcode}` for rates.\n\nThe path accepts either a five-digit ZIP code or ZIP+4. ZIP+4 values are normalized to their first five digits before lookup, and the normalized five-digit ZIP is returned in the response. Leading zeroes are significant, so ZIP codes must be sent as strings.","operationId":"get_zipcode","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"zipcode","in":"path","required":true,"schema":{"type":"string","description":"US ZIP (12345) or ZIP+4 (12345-6789)","openapi_examples":{"normal":{"summary":"Five digits postcode","value":"12084"},"zip_plus_four":{"summary":"Zip+4 format","value":"12084-1234"}},"title":"Zipcode"}}],"responses":{"200":{"description":"ZIP code metadata found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZipCodeResponse"},"examples":{"leading_zero":{"summary":"ZIP associated with one state","description":"Leading zeroes are preserved in the response.","value":{"zipcode":"00501","states":["New York"]}},"zip_plus_four":{"summary":"ZIP+4 normalized to five digits","description":"A request for `12084-1234` is looked up and returned as `12084`.","value":{"zipcode":"12084","states":["New York"]}},"multiple_states":{"summary":"ZIP associated with multiple states","description":"Every state relationship is returned; no state is selected automatically.","value":{"zipcode":"10506","states":["Connecticut","New York"]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"The normalized ZIP code does not exist in the database.","content":{"application/json":{"example":{"detail":"Zip code '00000' does not exist in our database."}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"ZIP code metadata","description":"Returns the state or states a US ZIP code (five digits or ZIP+4) belongs to; a ZIP that crosses a state line returns every state. Metadata only, no rates: use get_gsa_perdiem_by_zipcode for per diem. Send ZIPs as strings so leading zeros survive."}}},"/v1/gsa/destination/{destination_id}":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"Get GSA destination metadata by ID","description":"Return the geographic metadata for one GSA destination rate area. A destination may represent a city, metropolitan area, county, group of jurisdictions, or the Standard CONUS area rather than a single municipality. `name` is GSA's short display name, while `defined_name` describes the geographic scope of the rate area.\n\n`destination_id` is GSA's numeric identifier for that rate area. Use [`GET /v1/gsa/destinations`](/docs#tag/GSA---CONUS-locations/operation/get_destinations_v1_gsa_destinations_get) to browse available destinations and find an ID. ID `0` identifies the Standard CONUS rate area.\n\nThis endpoint returns destination metadata only. Use `GET /v1/gsa/perdiem/destination/{destination_id}` to retrieve the per diem rate in effect for a particular date.","operationId":"get_destination_by_id","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"destination_id","in":"path","required":true,"schema":{"type":"integer","description":"GSA's numeric identifier for a destination rate area. Retrieve valid IDs from `GET /v1/gsa/destinations`; ID 0 is Standard CONUS.","title":"Destination Id"},"description":"GSA's numeric identifier for a destination rate area. Retrieve valid IDs from `GET /v1/gsa/destinations`; ID 0 is Standard CONUS.","examples":{"washington":{"summary":"Washington rate area","value":75},"standard_conus":{"summary":"Standard CONUS rate area","value":0}}}],"responses":{"200":{"description":"Destination metadata found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSADestinationResponse"},"example":{"destination_id":75,"name":"Washington","defined_name":"Washington DC (Also the Cities of Alexandria, Falls Church and Fairfax, and the Counties of Arlington and Fairfax, in Virginia; and the Counties of Montgomery and Prince George's in Maryland)","county":"District of Columbia","state":"District of Columbia","state_iso":"US-DC"}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"No GSA destination exists with the requested destination ID.","content":{"application/json":{"example":{"detail":{"message":"Destination ID 999999 not found. Query the endpoint /destinations to get the list of existing ids.","request_id":"req_abc123def456","url":"/v1/gsa/destination/999999"}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Returns the metadata of one GSA destination rate area by numeric ID: GSA's display name, the defined geographic scope, county and state. ID 0 is the Standard CONUS area. No rates: use get_gsa_perdiem_by_destination for the rate on a date and get_destinations to browse IDs."}}},"/v1/gsa/destinations":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"List GSA destinations","description":"Return the paginated list of GSA destination rate areas and their numeric IDs. A destination is an area for which GSA publishes a per diem rate; it may represent a city, metropolitan area, county, locality, or the Standard CONUS area rather than a single municipality.\n\nUse `destination_id` with `GET /v1/gsa/perdiem/destination/{destination_id}` to retrieve the rate in effect for that destination. ID `0` identifies the Standard CONUS rate. `name` is GSA's display name, while `defined_name`, `county`, and state fields provide the geographic context needed to select the correct rate area.\n\nResults are ordered by `destination_id`. Use `offset` and `limit` to page through the list. An offset beyond the available records returns an empty list, not a 404 response.","operationId":"get_destinations","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","description":"Number of destination records to skip before returning results.","default":0,"title":"Offset"},"description":"Number of destination records to skip before returning results.","examples":{"first_page":{"summary":"Start with the first destination","value":0},"second_page":{"summary":"Skip the first 100 destinations","value":100}}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"description":"Maximum number of destinations to return. The maximum is 200.","default":100,"title":"Limit"},"description":"Maximum number of destinations to return. The maximum is 200.","examples":{"default":{"summary":"Default page size","value":100},"maximum":{"summary":"Maximum page size","value":200}}}],"responses":{"200":{"description":"Destination rate areas returned successfully.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GSADestinationResponse"},"title":"Response Get Destinations V1 Gsa Destinations Get"},"example":[{"destination_id":0,"name":"Standard Rate","defined_name":"Standard CONUS Rate","county":"CONUS","state":"US Standard","state_iso":"US-US"},{"destination_id":1,"name":"Birmingham","defined_name":"Jefferson","county":"Jefferson","state":"Alabama","state_iso":"US-AL"},{"destination_id":2,"name":"Gulf Shores","defined_name":"Baldwin","county":"Baldwin","state":"Alabama","state_iso":"US-AL"}]}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Returns the paginated list of every GSA destination rate area with its numeric ID, display name, defined scope, county and state, ordered by ID (`offset`, `limit`; past the end is an empty list). Use the ID with get_gsa_perdiem_by_destination or calculate_trip_per_diem. No rates; a ZIP or state lookup is usually faster than browsing."}}},"/v1/gsa/city-pairs/locations":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"City Pair airport and city codes","description":"List or search the three-letter codes used by GSA City Pair awards for the fiscal year of `date` (today by default), with GSA's own city, state and country labels. Awards use IATA airport codes (DCA, IAD, BWI) for most domestic pairs and metropolitan city codes (WAS, NYC, LON) for others; only GSA decides which, so resolve the code here before calling the fare lookup. Several codes can share one city label. Without `q`, every code of the fiscal year is returned, ordered by code. With `q` (3+ characters), a code matches exactly and city/country names match by substring, case-insensitively. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.\n\nExample:\n```sh\ncurl --get 'https://api.allowancesapi.com/v1/gsa/city-pairs/locations' -H 'X-API-Key: YOUR_KEY' --data-urlencode 'q=washington'\n```\nLabels mirror the latest imported awards table and change with it.","operationId":"get_city_pair_locations","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"minLength":3,"description":"Match a code exactly or a city/country name by substring; case-insensitive. Omit to list every code of the fiscal year.","examples":["washington","LON"],"title":"Q"},"description":"Match a code exactly or a city/country name by substring; case-insensitive. Omit to list every code of the fiscal year."},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GSACityPairLocationRead"},"title":"Response Get City Pair Locations V1 Gsa City Pairs Locations Get"},"examples":{"washington":{"summary":"q=washington (subset; the full table also lists BWI and IAD)","value":[{"code":"DCA","city_name":"WASHINGTON","state":"DC","country":"UNITED STATES"},{"code":"WAS","city_name":"WASHINGTON","state":"DC","country":"UNITED STATES"}]}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"The plan does not permit the requested date."},"404":{"description":"No code matches, or the requested fiscal year is not loaded."},"422":{"description":"Search term shorter than 3 characters or invalid date."},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Returns the airport or metropolitan codes GSA uses in City Pair airfare awards for the fiscal year of `date` (today by default), with city, state and country. GSA decides whether a city uses airport codes (DCA, IAD) or a metro code (WAS), so resolve codes here before get_city_pairs. `q` (3+ characters) matches a code exactly or a city or country name by substring. Fiscal years other than the current one depend on the plan."}}},"/v1/gsa/city-pairs/{origin}/{destination}":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"City Pair contract airfares","description":"Return every GSA contract award matching the airport/city code pair and date (today by default). Codes are returned in alphabetical order; fares are one-way USD and valid in either direction. Source start/end dates are inclusive; overlapping amendments are both returned. No fallback to other fiscal years or dates. Null fare categories are unavailable. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date. Data reflects the latest imported table, not past publication snapshots. These are eligible government travelers' contract prices, not live seat availability or booking offers. Domestic fares exclude passenger facility, segment and security fees; international fares exclude taxes/fees but include fuel surcharges. Book through the agency's authorized system. [Official CPP rules and price caveats](https://www.gsa.gov/travel/plan-a-trip/transportation-airfare-rates-pov-rates/airfare-rates-city-pair-program); [fare definitions](https://www.gsa.gov/travel/plan-a-trip/transportation-airfare-rates-pov-rates/airfare-rates-city-pair-program/government-airfare-types).\n\nExample (fixed date):\n```sh\ncurl --get 'https://api.allowancesapi.com/v1/gsa/city-pairs/ABE/ATL' -H 'X-API-Key: YOUR_KEY' -H 'X-Bypass-Cache: 1' --data-urlencode 'date=2026-10-28' --data-urlencode 'verification_url=true'\n```\nSee the 200 response example for all result fields. Importing does not invalidate existing cached responses; use X-Bypass-Cache: 1 to verify newly imported data.","operationId":"get_city_pairs","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"origin","in":"path","required":true,"schema":{"type":"string","description":"Three-letter airport or international city code; case-insensitive. No city-name expansion.","examples":["ABE","LON"],"title":"Origin"},"description":"Three-letter airport or international city code; case-insensitive. No city-name expansion."},{"name":"destination","in":"path","required":true,"schema":{"type":"string","description":"Three-letter airport or international city code; case-insensitive. No city-name expansion.","examples":["ABE","LON"],"title":"Destination"},"description":"Three-letter airport or international city code; case-insensitive. No city-name expansion."},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSACityPairResponse"},"examples":{"domestic_award":{"summary":"ABE–ATL on 2026-10-28 (official FY2027 fixture)","value":{"effective_date":"2026-10-01","verification_url":"https://www.gsa.gov/travel/plan-a-trip/transportation-airfare-rates-pov-rates/airfare-rates-city-pair-program","results":[{"fiscal_year":2027,"origin_code":"ABE","destination_code":"ATL","airline_code":"DL","service":"N","effective_date":"2026-10-01","expiration_date":"2027-09-30","yca_fare":710,"ca_fare":355,"business_fare":null,"cp_fare":null,"cn_fare":null}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"The plan does not permit the requested date."},"404":{"description":"No award for this route/date, or the requested fiscal year is not loaded."},"422":{"description":"Invalid airport/city code or date."},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Returns GSA City Pair Program contract airfares between two codes (see get_city_pair_locations) on `date`, today by default: every matching award with airline, service and one-way USD fares by category (YCA, CA, business and others; null means not offered), valid in either direction. Government contract prices, not live availability; domestic fares exclude passenger and security fees. Other fiscal years depend on the plan; there is no fallback to another date."}}},"/v1/gsa/mileage":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"POV mileage reimbursement rates","description":"Returns the GSA privately owned vehicle (POV) mileage reimbursement rates in USD per mile for airplane, automobile, government-furnished automobile, motorcycle and moving, in effect today or on `date`; `type` selects one. Use calculate_mileage_reimbursement to turn a distance into an amount.","operationId":"get_mileage","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/MileageType"},{"type":"null"}],"description":"Filter by mileage type","title":"Type"},"description":"Filter by mileage type"},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSAMileageResponse"},"examples":{"all_mileage_types":{"summary":"All POV mileage rates with source verification","description":"Response to GET /v1/gsa/mileage?date=2026-07-11&verification_url=true. Rates are in USD per mile. Omit type to return all mileage types.","value":{"effective_date":"2026-01-01","verification_url":"https://www.gsa.gov/travel/plan-a-trip/transportation-airfare-rates-pov-rates/privately-owned-vehicle-pov-mileage-reimbursement","results":[{"mileage_type":"airplane","effective_date":"2026-01-01","rate_per_mile":1.78},{"mileage_type":"automobile","effective_date":"2026-01-01","rate_per_mile":0.725},{"mileage_type":"government_furnished_automobile","effective_date":"2026-01-01","rate_per_mile":0.205},{"mileage_type":"motorcycle","effective_date":"2026-01-01","rate_per_mile":0.705},{"mileage_type":"moving","effective_date":"2026-01-01","rate_per_mile":0.205}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"POV mileage rates"}}},"/v1/gsa/mie-breakdowns":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"M&IE meal breakdowns","description":"Return how daily M&IE totals break down into breakfast, lunch, dinner and incidental expenses, as in effect on the given date. The CONUS table breaks down the five standard CONUS M&IE tiers and is returned by default. Set region=oconus for the generic DTMO/DSSR M&IE total table. If date is not specified, today's breakdowns will be returned.","operationId":"get_mie_breakdowns","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"region","in":"query","required":false,"schema":{"$ref":"#/components/schemas/MieBreakdownRegion","description":"Breakdown table to return; defaults to CONUS","default":"conus"},"description":"Breakdown table to return; defaults to CONUS"},{"name":"total","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"Filter by daily M&IE total in USD","title":"Total"},"description":"Filter by daily M&IE total in USD"},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSAMieBreakdownResponse"},"examples":{"gsa_mie_breakdowns":{"summary":"Meal breakdown for the USD 68 CONUS tier","description":"Response to GET /v1/gsa/mie-breakdowns?date=2026-07-11&region=conus&total=68&verification_url=true. Amounts are in USD per day.","value":{"effective_date":"2026-06-23","verification_url":"https://www.gsa.gov/travel/plan-a-trip/per-diem-rates/mie-breakdowns","results":[{"region":"conus","effective_date":"2026-06-23","mie_total":68,"breakfast":16,"lunch":19,"dinner":28,"incidentals":5,"first_last_day":51.0}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}}}},"/v1/gsa/vehicle-rates/{rate_type}/{sin}":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"GSA Fleet vehicle leasing rates by SIN","description":"Returns the GSA Fleet vehicle leasing rates (monthly lease rate and rate per mile) for the vehicle type identified by its Standard Item Number (SIN), from the standard (US) or europe rate schedule, for the current fiscal year unless `year` is given; rates are available from fiscal year 2022. SINs are the vehicle-type codes of the GSA Fleet rate schedule; the response names the vehicle type.","operationId":"get_fleet_rates_by_sin","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"rate_type","in":"path","required":true,"schema":{"$ref":"#/components/schemas/FleetRateType","title":"Fleet rate schedule","description":"The GSA Fleet rate schedule: 'standard' covers vehicles leased in the United States, 'europe' covers vehicles leased in Europe."},"description":"The GSA Fleet rate schedule: 'standard' covers vehicles leased in the United States, 'europe' covers vehicles leased in Europe."},{"name":"sin","in":"path","required":true,"schema":{"type":"string","title":"GSA Fleet SIN","description":"Standard Item Number (SIN) identifying a GSA Fleet leased vehicle type, case insensitive."},"description":"Standard Item Number (SIN) identifying a GSA Fleet leased vehicle type, case insensitive.","examples":{"sedan":{"summary":"Sedan, Midsize","value":"10B"},"suv":{"summary":"Sport Utility, 4-Door","value":"99"},"ambulance":{"summary":"Type I Ambulance, Conventional Cab & Chassis","value":"211"}}},{"name":"year","in":"query","required":false,"schema":{"type":"integer","description":"A fiscal year starts Oct 1st, ends Sep 30th. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","openapi_examples":{"recent":{"value":2026},"historic":{"value":2005}},"title":"Year"}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSAFleetRateResponse"},"examples":{"gsa_vehicle_rates_standard_10b":{"summary":"FY 2026 midsize sedan lease rates","description":"Response to GET /v1/gsa/vehicle-rates/standard/10B?year=2026&verification_url=true. Monthly rates are in USD per month; mileage rates are in USD per mile.","value":{"sin":"10B","vehicle_description":"Sedan, Midsize","rate_type":"standard","results":[{"fiscal_year":2026,"monthly_rate":421,"monthly_rate_type":"fixed","mileage_rate":0.21}],"verification_url":"https://www.gsa.gov/buy-through-us/products-and-services/transportation-and-logistics-services/fleet-management/vehicle-leasing/vehicle-rates"}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"GSA Fleet leasing rates"}}},"/v1/gsa/fedrooms":{"get":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"List worldwide FedRooms properties","description":"List current worldwide FedRooms properties with all six GSA spreadsheet columns: hotel name, address, postal city, state, postal code and country. Page through all properties using offset and limit (default 50, maximum 200); total counts matching properties. Optional q searches all six fields: every whitespace-separated word must occur as a case-insensitive literal substring in at least one field. Words may match different fields; there is no fuzzy matching. Optional country filters by ISO alpha-2 code (for example US or GB); every result includes country_iso_code while preserving the source country name. as_of is the UTC download date of the loaded snapshot, not a publication or effective date. verification_url always points to the official GSA page. No room prices or availability are supplied. Book through approved government channels to guarantee the FedRooms rate. This is a current list with no historical date lookup.","operationId":"get_gsa_fedrooms","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"]},{"type":"null"}],"description":"Filter by ISO 3166-1 alpha-2 country code, e.g. US or GB.","title":"Country"},"description":"Filter by ISO 3166-1 alpha-2 country code, e.g. US or GB."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":200,"pattern":"\\S"},{"type":"null"}],"description":"Search all six property fields; every word must match a case-insensitive literal substring.","examples":["courtyard dallas"],"title":"Q"},"description":"Search all six property fields; every word must match a case-insensitive literal substring."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of properties to skip.","default":0,"title":"Offset"},"description":"Number of properties to skip."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Properties per page, at most 200.","default":50,"title":"Limit"},"description":"Properties per page, at most 200."}],"responses":{"200":{"description":"A page of the current property list; results may be empty.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSAFedRoomsResponse"},"example":{"as_of":"2026-11-05","verification_url":"https://www.gsa.gov/travel/hotels-fedrooms","total":12234,"offset":0,"limit":50,"results":[{"name":"Holiday Inn Huntingdon - Racecourse","address":"Thrapston Road","city":"Huntingdon","state":null,"zipcode":"PE28 4NL","country":"United Kingdom","country_iso_code":"GB"}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"503":{"description":"No property-list snapshot is loaded.","content":{"application/json":{"example":{"detail":{"message":"FedRooms listings are temporarily unavailable because no list snapshot is loaded.","request_id":"req_abc123def456","url":"/v1/gsa/fedrooms"}}}}}},"x-mcp":{"description":"Lists current worldwide FedRooms hotels with name, address, postal city, state, postal code and country. Optional q matches every word as a case-insensitive literal substring across those fields. country filters by ISO alpha-2 code; results include country_iso_code. Paginate with offset and limit (maximum 200); total counts matches. as_of is the UTC download date. verification_url always links to GSA. No prices or availability; book through approved channels for the FedRooms rate."}}},"/v1/gsa/calc/mileage":{"post":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"Calculate POV mileage reimbursement","description":"Calculate mileage reimbursement with the official GSA rate in effect on the travel date (today if omitted). Provide a distance in miles and the vehicle type: automobile, airplane, motorcycle or moving. For automobile travel, say whether a government-furnished automobile was available, which selects the reduced rate. Returns the rate category, rate and effective date, and the amount rounded to the cent. Use get_mileage for the rates alone.","operationId":"calculate_mileage_reimbursement","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MileageCalculationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MileageCalculationResponse"}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}}}}}},"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"x-mcp":{"title":"Mileage reimbursement calculator","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}}},"/v1/gsa/calc/perdiem/trip":{"post":{"tags":["GSA - per diem, mileage, fleet and airfare"],"summary":"Calculate a GSA CONUS trip per diem entitlement","description":"<p>Calculate estimated lodging and meals and incidental expenses (M&amp;IE) reimbursement for a trip\n\t\t\twithin the continental United States. The response provides a daily breakdown and trip totals.</p>\n\t\t<h3 class=\"text-xl\">Describe the trip</h3>\n\t\t<ul class=\"list-disc\">\n\t\t\t<li>Add each temporary-duty stop in travel order, with inclusive arrival and departure dates.</li>\n\t\t\t<li>Identify each stop with a GSA destination ID or ZIP code. A stop represents the temporary-duty\n\t\t\t\tlocality, which may differ from the hotel location.</li>\n\t\t\t<li>Optionally provide the actual nightly lodging cost and any meals that must be deducted.</li>\n\t\t\t<li>When one stop ends on the same date another begins, the arriving stop applies to that date.</li>\n\t\t</ul>\n\t\t<h3 class=\"text-xl\">Calculation rules</h3>\n\t\t<ul class=\"list-disc\">\n\t\t\t<li>The calculator selects the GSA rate in effect for each day, including seasonal and fiscal-year\n\t\t\t\tchanges.</li>\n\t\t\t<li>First and last travel days receive 75% of the M&amp;IE rate; intermediate days receive 100%.</li>\n\t\t\t<li>Submitted meal deductions use the official GSA meal values while preserving the required incidental\n\t\t\t\texpense amount.</li>\n\t\t\t<li>Lodging reimbursement is limited to the nightly GSA cap. Any amount above the cap is reported as\n\t\t\t\t<code>overage</code> and is not included in the payable total.</li>\n\t\t</ul>\n\t\t<h3 class=\"text-xl\">Important notes</h3>\n\t\t<ul class=\"list-disc\">\n\t\t\t<li>Submit only meals that you have determined must be deducted under FTR 301-11.21.</li>\n\t\t\t<li>Single-day reimbursement applies only when the traveler is in eligible travel status for more than\n\t\t\t\t12 hours.</li>\n\t\t\t<li>If a lodging cost is omitted, the response still shows the nightly cap, but lodging and overall\n\t\t\t\tpayable totals are <code>null</code>.</li>\n\t\t\t<li>The response includes the calculation version and a source fingerprint to support auditing.</li>\n\t\t</ul>","operationId":"calculate_trip_per_diem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSATripCalculationRequest"},"examples":{"basic_complete_trip":{"summary":"Basic trip with complete lodging actuals","value":{"stops":[{"location":{"zipcode":"20001"},"arrival_date":"2026-10-01","departure_date":"2026-10-03","lodging_cost_per_night":250}],"verification_url":true}},"multi_stop_transition":{"summary":"The arriving stop owns the shared transition date","value":{"stops":[{"location":{"destination_id":75},"arrival_date":"2026-07-10","departure_date":"2026-07-11","lodging_cost_per_night":200},{"location":{"destination_id":160},"arrival_date":"2026-07-11","departure_date":"2026-07-12","lodging_cost_per_night":150}]}},"lodging_caps_only":{"summary":"Omitted lodging actuals return caps and null lodging totals","value":{"stops":[{"location":{"destination_id":75},"arrival_date":"2026-07-10","departure_date":"2026-07-12"}]}},"single_day":{"summary":"Conditional single-day subsistence calculation","value":{"stops":[{"location":{"destination_id":75},"arrival_date":"2026-07-10","departure_date":"2026-07-10"}]}},"ambiguous_zip":{"summary":"Ambiguous ZIP returns candidates","value":{"stops":[{"location":{"zipcode":"01366"},"arrival_date":"2026-07-10","departure_date":"2026-07-12"}]}},"destination_retry":{"summary":"Retry an ambiguous ZIP with the selected destination","value":{"stops":[{"location":{"zipcode":"01366","destination_id":160},"arrival_date":"2026-07-10","departure_date":"2026-07-12"}]}},"incidental_floor":{"summary":"All meal deductions trigger the incidental floor","value":{"stops":[{"location":{"destination_id":75},"arrival_date":"2026-07-10","departure_date":"2026-07-10"}],"deductible_meals":[{"date":"2026-07-10","meals":["breakfast","lunch","dinner"]}]}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GSATripCalculationResponse"}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}}}}}},"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"x-mcp":{"title":"GSA trip per diem calculator","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Estimates GSA CONUS per diem for a multi-stop trip: a day-by-day breakdown and totals of payable lodging and M&IE. Each stop has inclusive arrival and departure dates and a GSA destination ID or ZIP code, optionally the actual nightly lodging cost and meals to deduct. Applies the rate in effect each day, 75% M&IE on first and last days, the official meal deductions and the lodging cap (excess reported as overage). Not for Department of Defense or foreign travel."}}},"/v1/dtmo/perdiem/conus/{state_iso}":{"get":{"tags":["DTMO - Mil. CONUS/OCONUS"],"summary":"Get perdiem CONUS","description":"Department of Defense per diem for the continental U.S. by state code (e.g. 'TX'); Alaska, Hawaii\nand the territories are served by the OCONUS endpoint. Returns lodging, local and proportional meal\nrates, incidentals and the maximum per diem (lodging + meals + incidentals) per season. `q` filters by\nlocation name. `date` selects the rates in force on that day, `year` a fiscal year (Oct 1 to Sep 30);\nomit both for the current fiscal year.","operationId":"get_dtmo_perdiem_conus","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"state_iso","in":"path","required":true,"schema":{"type":"string","description":"US state code: US- followed by the postal abbreviation, e.g. US-CA for California.","examples":["US-AL","US-CA"],"title":"State Iso"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"year","in":"query","required":false,"schema":{"type":"integer","description":"A fiscal year starts Oct 1st, ends Sep 30th. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","openapi_examples":{"recent":{"value":2026},"historic":{"value":2005}},"title":"Year"}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"minLength":3,"description":"Search by location name or state/country name","title":"Q"},"description":"Search by location name or state/country name"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerDiemDTMOResponse"},"examples":{"dtmo_perdiem_conus_us_dc":{"summary":"Washington CONUS per diem","description":"Response to GET /v1/dtmo/perdiem/conus/US-DC?date=2026-07-11&q=Washington&offset=0&limit=1&verification_url=true. Amounts are in USD per day.","value":{"effective_date":"2025-10-01","verification_url":"https://www.defensetravel.dod.mil/neorates/report/index.php?report=conus&state=DISTRICT OF COLUMBIA&year=None&elocs=YES&military=YES","results":[{"iso_code":"US-DC","state_country":"District of Columbia","location":"Washington","county":"District of Columbia","season_begin":"07/01","season_end":"08/31","lodging":183,"local_meal_rate":87,"proportional_meal_rate":53,"local_incidental":5,"footnote_number":"None","footnote_rate":0,"maximum_perdiem":275,"effective_date":"2025-10-01","fiscal_year":2026,"source":"dtmo","publish_date":"2025-11-01"}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"DTMO CONUS per diem by state"}}},"/v1/dtmo/perdiem/oconus/{oconus_iso_code}":{"get":{"tags":["DTMO - Mil. CONUS/OCONUS"],"summary":"Get perdiem OCONUS","description":"Department of Defense per diem outside the continental U.S.: foreign countries by ISO alpha-2 code\n(e.g. 'PG'), and Alaska, Hawaii and U.S. territories by 'US-XX' code. Returns lodging, local and\nproportional meal rates, incidentals and the maximum per diem (lodging + meals + incidentals) per\nseason. `q` filters by location name. `date` selects the rates in force on that day, `year` a fiscal\nyear (Oct 1 to Sep 30); omit both for the current fiscal year.","operationId":"get_dtmo_perdiem_oconus","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"oconus_iso_code","in":"path","required":true,"schema":{"type":"string","description":"Foreign country ISO 3166-1 alpha-2 code (e.g. BE), or one of the OCONUS state codes US-AK, US-HI, US-PR, US-GU, US-VI, US-AS, US-MP, US-UM. Resolve a country name to its code with get_countries (q=name).","examples":["US-AK","BE"],"title":"Oconus Iso Code"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"year","in":"query","required":false,"schema":{"type":"integer","description":"A fiscal year starts Oct 1st, ends Sep 30th. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","openapi_examples":{"recent":{"value":2026},"historic":{"value":2005}},"title":"Year"}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"minLength":3,"description":"Search by location name or state/country name","title":"Q"},"description":"Search by location name or state/country name"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerDiemDTMOResponse"},"examples":{"dtmo_perdiem_oconus_lu":{"summary":"Luxembourg OCONUS per diem","description":"Response to GET /v1/dtmo/perdiem/oconus/LU?date=2026-07-11&q=Luxembourg&offset=0&limit=1&verification_url=true. Amounts are in USD per day.","value":{"effective_date":"2025-08-01","verification_url":"https://www.defensetravel.dod.mil/neorates/report/index.php?report=oconus&country=LUXEMBOURG&date=2026-07-11&military=YES","results":[{"iso_code":"LU-LU","state_country":"Luxembourg","location":"Luxembourg","county":"","season_begin":"01/01","season_end":"12/31","lodging":366,"local_meal_rate":111,"proportional_meal_rate":65,"local_incidental":27,"footnote_number":"None","footnote_rate":0,"maximum_perdiem":504,"effective_date":"2025-08-01","fiscal_year":2026,"source":"dtmo","publish_date":"2026-07-01"}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"DTMO OCONUS per diem by country"}}},"/v1/dtmo/perdiem/search":{"get":{"tags":["DTMO - Mil. CONUS/OCONUS"],"summary":"Search by location name","description":"Finds Department of Defense per diem by location name ('Kabul') or country or state name ('Afghanistan'),\nacross CONUS and OCONUS, with no code needed. Returns lodging, local and proportional meal rates,\nincidentals and maximum per diem per matching location and season. `date` selects the rates in force on\nthat day, `year` a fiscal year (Oct 1 to Sep 30); omit both for the current fiscal year.","operationId":"search_dtmo_perdiem","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"minLength":3,"description":"Search by location name or state/country name","title":"Q"},"description":"Search by location name or state/country name"},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","examples":{"default":{"summary":"Example date","value":"2026-01-01"},"historic":{"summary":"Historic date","value":"2022-01-31"}}},{"name":"year","in":"query","required":false,"schema":{"type":"integer","description":"A fiscal year starts Oct 1st, ends Sep 30th. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","openapi_examples":{"recent":{"value":2026},"historic":{"value":2005}},"title":"Year"}},{"name":"verification_url","in":"query","required":false,"schema":{"type":"boolean","title":"Verification URL","description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.","default":false},"description":"If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerDiemDTMOResponse"},"examples":{"dtmo_perdiem_search":{"summary":"Search Luxembourg per diem","description":"Response to GET /v1/dtmo/perdiem/search?q=Luxembourg&date=2026-07-11&verification_url=true. Amounts are in USD per day.","value":{"effective_date":"2025-08-01","verification_url":"https://www.defensetravel.dod.mil/neorates/report/index.php?report=oconus&country=LUXEMBOURG&date=2026-07-11&military=YES","results":[{"iso_code":"LU-LU","state_country":"Luxembourg","location":"Luxembourg","county":"","season_begin":"01/01","season_end":"12/31","lodging":366,"local_meal_rate":111,"proportional_meal_rate":65,"local_incidental":27,"footnote_number":"None","footnote_rate":0,"maximum_perdiem":504,"effective_date":"2025-08-01","fiscal_year":2026,"source":"dtmo","publish_date":"2026-07-01"}]}}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"Search DTMO per diem by name"}}},"/v1/dtmo/locations/conus/{state_iso}":{"get":{"tags":["DTMO - Mil. CONUS/OCONUS"],"summary":"Get DTMO CONUS locations","description":"Returns the DTMO per diem locations of a US state (US-XX code) with location name and county, as named in\nthe Department of Defense CONUS table. Use it to find the name for the `q` filter of\nget_dtmo_perdiem_conus. Returns no rates. For other countries, Alaska, Hawaii and territories use\nget_dtmo_oconus_locations.","operationId":"get_dtmo_conus_locations","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"state_iso","in":"path","required":true,"schema":{"type":"string","description":"US state code: US- followed by the postal abbreviation, e.g. US-CA for California.","examples":["US-AL","US-CA"],"title":"State Iso"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DTMOConusLocationRead"},"title":"Response Get Dtmo Conus Locations V1 Dtmo Locations Conus  State Iso  Get"},"examples":{"dtmo_locations_conus_us_dc":{"summary":"All District of Columbia locations","description":"Response to GET /v1/dtmo/locations/conus/US-DC.","value":[{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"Anacostia Ns","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"Bolling AFB","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"District of Columbia","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"Ft. Mcnair","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"JB Anacostia-Bolling","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"Marine Barracks","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"Naval Medical Command","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"Naval Research Laboratory","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"Naval Security Station","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"U.S. Naval Observatory","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"U.S. Soldier's & Airmen's Home","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"Walter Reed Army Medical CTR","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"Washington","source":"DTMO"},{"state":"District of Columbia","state_iso":"US-DC","county":"District of Columbia","name":"Washington Naval District","source":"DTMO"}]}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"DTMO CONUS locations by state"}}},"/v1/dtmo/locations/oconus/{country_iso_code}":{"get":{"tags":["DTMO - Mil. CONUS/OCONUS"],"summary":"Get DTMO OCONUS locations","description":"Returns the DTMO per diem locations of a country by ISO alpha-2 code ('AU', 'BE'), as named in the\nDepartment of Defense OCONUS table. `location` filters by case-insensitive substring, taken literally (no\nwildcards); no match returns an empty list. Use the names for the `q` filter of get_dtmo_perdiem_oconus.\nReturns no rates.","operationId":"get_dtmo_oconus_locations","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"country_iso_code","in":"path","required":true,"schema":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"}},{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by location name","title":"Location"},"description":"Filter by location name","examples":{"normal":{"value":"Austin"},"with spaces":{"description":"You can add spaces to the search string","value":"New York City"}}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DTMOOconusLocationRead"},"title":"Response Get Dtmo Oconus Locations V1 Dtmo Locations Oconus  Country Iso Code  Get"},"examples":{"dtmo_locations_oconus_lu":{"summary":"Filter Luxembourg locations","description":"Response to GET /v1/dtmo/locations/oconus/LU?location=Luxembourg.","value":[{"country":"Luxembourg","country_iso_code":"LU","name":"Luxembourg","source":"DTMO"}]}}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"DTMO OCONUS locations by country"}}},"/v1/fema/hotels/search":{"get":{"tags":["FEMA - Fire-safe lodging"],"summary":"Search FEMA-listed properties by name and town","description":"Return the properties whose name or city contains every word of `q`, case-insensitively, as a plain substring: `courtyard dallas` matches Courtyard properties in Dallas, `mint house alexandria` the Mint House in Alexandria. There is no fuzzy matching, so `hampton inn` does not find \"Hampton by Hilton\". Words of one character are ignored. `state` narrows the search to one state or territory (404 for a code FEMA does not list). Results are ordered by name then city and paginated with `offset` and `limit` (50 by default, 200 at most); `total` counts every match. No match returns an empty `results` list.\n\nThe Hotel and Motel Fire Safety Act of 1990 requires federal travelers to stay at a property on FEMA's Hotel and Motel National Master List to be reimbursed for lodging. Each property on the list has a FEMA ID. FEMA publishes the current list only; `as_of` is the date of the snapshot the results come from. This endpoint returns no rates: combine it with the GSA per diem lookups for the lodging ceiling.","operationId":"search_fema_hotels","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":3,"description":"Words to find in the property name or city, all required, case-insensitive.","examples":["mint house alexandria"],"title":"Q"},"description":"Words to find in the property name or city, all required, case-insensitive."},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","description":"2-digits US State ISO Code, format XX","examples":["AL","CA"]},{"type":"null"}],"description":"Restrict the search to one state or territory.","title":"State"},"description":"Restrict the search to one state or territory."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of properties to skip.","default":0,"title":"Offset"},"description":"Number of properties to skip."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Properties per page, 200 at most.","default":50,"title":"Limit"},"description":"Properties per page, 200 at most."}],"responses":{"200":{"description":"Search ran; `results` may be empty.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FemaHotelPageResponse"},"example":{"as_of":"2026-10-24","total":1,"offset":0,"limit":50,"results":[{"fema_id":"VA6026","name":"Mint House Alexandria - Old Town","street":"750 Thornton Way","city":"Alexandria","state":"VA","zipcode":"22314","phone":"855-972-9090","property_type":"Apartment/Condo","stories":5,"sprinklers":true}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"The state code is not one FEMA lists.","content":{"application/json":{"example":{"detail":{"message":"US State XX not found.","request_id":"req_abc123def456","url":"/v1/fema/hotels/search?q=marriott&state=XX"}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Searches FEMA's Hotel and Motel National Master List (fire-safe lodging, required for reimbursed federal travel) by property name and city: every word of `q` must appear as a plain substring of the name or city, with no fuzzy matching. `state` narrows to one state; paginated with `offset`, `limit` (up to 200) and `total`. Returns FEMA ID, address, phone and property details, no rates: pair with GSA per diem for the lodging cap."}}},"/v1/fema/hotels/{fema_id}":{"get":{"tags":["FEMA - Fire-safe lodging"],"summary":"FEMA-listed property by FEMA ID","description":"Return the property registered under a FEMA ID, or 404 when the ID is not on the list.\n\nThe Hotel and Motel Fire Safety Act of 1990 requires federal travelers to stay at a property on FEMA's Hotel and Motel National Master List to be reimbursed for lodging. Each property on the list has a FEMA ID. FEMA publishes the current list only; `as_of` is the date of the snapshot the results come from. This endpoint returns no rates: combine it with the GSA per diem lookups for the lodging ceiling.","operationId":"get_fema_hotel_by_id","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"fema_id","in":"path","required":true,"schema":{"type":"string","description":"FEMA ID of the property as printed on the Hotel and Motel National Master List, two letters followed by digits. Case-insensitive.","examples":["VA6026"],"title":"Fema Id"}}],"responses":{"200":{"description":"The FEMA ID is on the list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FemaHotelResponse"},"example":{"as_of":"2026-10-24","results":[{"fema_id":"VA6026","name":"Mint House Alexandria - Old Town","street":"750 Thornton Way","city":"Alexandria","state":"VA","zipcode":"22314","phone":"855-972-9090","property_type":"Apartment/Condo","stories":5,"sprinklers":true}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"The FEMA ID is not on the list.","content":{"application/json":{"example":{"detail":{"message":"FEMA ID 'ZZ9999' is not on the Hotel and Motel National Master List.","request_id":"req_abc123def456","url":"/v1/fema/hotels/ZZ9999"}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Returns one property on FEMA's Hotel and Motel National Master List by FEMA ID, or a 404 error when the ID is not listed: name, address, phone, property type, stories and sprinklers, with `as_of` the date of the list snapshot. Use it to confirm a hotel is fire-safe for reimbursed federal lodging. No rates."}}},"/v1/fema/hotels/zipcode/{zipcode}":{"get":{"tags":["FEMA - Fire-safe lodging"],"summary":"FEMA-listed properties by ZIP code","description":"Return every property on the list in a US ZIP code, ordered by name. The path accepts a five-digit ZIP or ZIP+4, normalized to the first five digits. A known ZIP with no listed property returns an empty `results` list; an unknown ZIP returns 404.\n\nThe Hotel and Motel Fire Safety Act of 1990 requires federal travelers to stay at a property on FEMA's Hotel and Motel National Master List to be reimbursed for lodging. Each property on the list has a FEMA ID. FEMA publishes the current list only; `as_of` is the date of the snapshot the results come from. This endpoint returns no rates: combine it with the GSA per diem lookups for the lodging ceiling.","operationId":"get_fema_hotels_by_zipcode","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"zipcode","in":"path","required":true,"schema":{"type":"string","description":"US ZIP (12345) or ZIP+4 (12345-6789)","openapi_examples":{"normal":{"summary":"Five digits postcode","value":"12084"},"zip_plus_four":{"summary":"Zip+4 format","value":"12084-1234"}},"title":"Zipcode"}}],"responses":{"200":{"description":"The ZIP code is known; `results` may be empty.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FemaHotelResponse"},"example":{"as_of":"2026-10-24","results":[{"fema_id":"VA6026","name":"Mint House Alexandria - Old Town","street":"750 Thornton Way","city":"Alexandria","state":"VA","zipcode":"22314","phone":"855-972-9090","property_type":"Apartment/Condo","stories":5,"sprinklers":true}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"The ZIP code is unknown.","content":{"application/json":{"example":{"detail":{"message":"Zip code '00000' does not exist in our database.","request_id":"req_abc123def456","url":"/v1/fema/hotels/zipcode/00000"}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Returns every property on FEMA's Hotel and Motel National Master List in a US ZIP code (five digits or ZIP+4), ordered by name, with FEMA ID, address and property details. A known ZIP with no listed property returns an empty list, an unknown ZIP a 404 error. Fire-safe lodging is required for reimbursed federal travel; no rates, pair with get_gsa_perdiem_by_zipcode."}}},"/v1/fema/hotels/state/{state_iso}":{"get":{"tags":["FEMA - Fire-safe lodging"],"summary":"FEMA-listed properties by state, optionally filtered by city","description":"Return the properties on the list in a state, ordered by city then name and paginated with `offset` and `limit` (50 by default, 200 at most); `total` is the number of matches across all pages. The optional `city` is matched case-insensitively as a partial name, so `york` matches New York and Yorktown. The state path accepts the 50 states, DC and the territories FEMA lists (AS, GU, MP, PR, PW, VI); other codes return 404. A city that matches nothing returns an empty `results` list.\n\nThe Hotel and Motel Fire Safety Act of 1990 requires federal travelers to stay at a property on FEMA's Hotel and Motel National Master List to be reimbursed for lodging. Each property on the list has a FEMA ID. FEMA publishes the current list only; `as_of` is the date of the snapshot the results come from. This endpoint returns no rates: combine it with the GSA per diem lookups for the lodging ceiling.","operationId":"get_fema_hotels_by_state_city","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"state_iso","in":"path","required":true,"schema":{"type":"string","description":"2-digits US State ISO Code, format XX","examples":["AL","CA"],"title":"State Iso"}},{"name":"city","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2},{"type":"null"}],"description":"Case-insensitive partial match on the city name.","examples":["Alexandria"],"title":"City"},"description":"Case-insensitive partial match on the city name."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of properties to skip.","default":0,"title":"Offset"},"description":"Number of properties to skip."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Properties per page, 200 at most.","default":50,"title":"Limit"},"description":"Properties per page, 200 at most."}],"responses":{"200":{"description":"The state is known; `results` may be empty.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FemaHotelPageResponse"},"example":{"as_of":"2026-10-24","total":1,"offset":0,"limit":50,"results":[{"fema_id":"VA6026","name":"Mint House Alexandria - Old Town","street":"750 Thornton Way","city":"Alexandria","state":"VA","zipcode":"22314","phone":"855-972-9090","property_type":"Apartment/Condo","stories":5,"sprinklers":true}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"The state code is not one FEMA lists.","content":{"application/json":{"example":{"detail":{"message":"US State XX not found.","request_id":"req_abc123def456","url":"/v1/fema/hotels/state/XX"}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"FEMA-listed hotels by state and city","description":"Returns the properties on FEMA's Hotel and Motel National Master List in a US state, optionally narrowed by a partial, case-insensitive `city` ('york' matches New York and Yorktown), ordered by city then name and paginated with `offset`, `limit` (up to 200) and `total`. Covers the 50 states, DC and the territories FEMA lists. Returns FEMA ID, address and property details, no rates."}}},"/v1/opm/localities":{"get":{"tags":["OPM - General Schedule pay"],"summary":"GS locality pay areas, optionally by county or city","description":"List the locality pay areas of the latest pay year, with the code to use on the pay endpoints. The optional `location` keeps the areas whose name contains every word, and the areas of the counties and cities with that name. `state` narrows `location` to one state and has no effect without it.\n\nCounty and city names must match exactly, ignoring case; a trailing `county` is optional. A place outside every listed area returns Rest of U.S. (`RUS`). Area names keep matching on any word they contain. `matched_places` lists the counties and cities behind each result. A place name can return several areas: the same name can exist in several states, which `state` narrows, and a city can span several areas, in which case all of them are returned and the official duty station decides. City data is not published by OPM, so for payroll use `/v1/opm/localities/county/{fips}`. An empty result does not mean Rest of U.S.: the name may be misspelled, and U.S. territories are not covered.","operationId":"get_opm_localities","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"location","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2},{"type":"null"}],"description":"County, city or locality area name.","examples":["evanston"],"title":"Location"},"description":"County, city or locality area name."},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","description":"2-digits US State ISO Code, format XX","examples":["AL","CA"]},{"type":"null"}],"description":"Restrict `location` to one state.","title":"State"},"description":"Restrict `location` to one state."}],"responses":{"200":{"description":"`results` may be empty.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OPMLocalitiesMatchResponse"},"example":{"year":2026,"results":[{"locality_code":"CHI","locality_name":"Chicago-Naperville, IL-IN-WI","locality_pct":30.86,"matched_places":["Evanston, IL (city)"]}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"title":"GS locality pay areas","description":"Returns OPM General Schedule locality pay areas for the latest pay year with the code for get_opm_pay. `location` keeps areas whose name contains every word and areas of counties or cities with exactly that name (`state` narrows it); `matched_places` shows why. A place in no area returns Rest of U.S. (RUS); several areas come back when a name exists in several states or a city spans areas. Empty results mean an unknown name, not RUS. Territories are not covered."}}},"/v1/opm/localities/county/{fips}":{"get":{"tags":["OPM - General Schedule pay"],"summary":"GS locality pay area of a county","description":"Return the locality pay area of a county for the latest pay year, using OPM's own definitions. A county that OPM doesn't list under an area falls under Rest of U.S. (`RUS`), and every county in Alaska or Hawaii returns that state's area. Returns 404 for an unknown code and for a Connecticut planning region, as OPM defines Connecticut by its eight legacy counties. U.S. territories fall under Rest of U.S. in OPM's definitions, but their county codes are not available here and return 404. Burlington County, NJ (`34005`) returns the Philadelphia area, while three military sites inside it (Fort Dix, Joint Base McGuire-Dix-Lakehurst and McGuire Air Force Base) belong to the New York area.","operationId":"get_opm_locality_by_county","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"fips","in":"path","required":true,"schema":{"type":"string","pattern":"^\\d{5}$","description":"Five-digit county FIPS code: two for the state and three for the county.","examples":["17031"],"title":"Fips"}}],"responses":{"200":{"description":"The county is known.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OPMLocalitiesResponse"},"example":{"year":2026,"results":[{"locality_code":"CHI","locality_name":"Chicago-Naperville, IL-IN-WI","locality_pct":30.86}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}},"x-mcp":{"description":"Returns the General Schedule locality pay area of a county by five-digit FIPS code for the latest pay year, with the code for get_opm_pay. Counties outside every area return Rest of U.S. (RUS); every county in Alaska or Hawaii returns that state's area. Unknown codes, Connecticut planning regions and territory counties are 404 errors. Use get_opm_localities to search by name."}}},"/v1/opm/pay/search":{"get":{"tags":["OPM - General Schedule pay"],"summary":"Search GS pay by locality area","description":"Return the latest General Schedule pay tables whose locality area matches every word of `q`: each word must be contained in the area name, case-insensitively, or equal its code. `grade` and `step` narrow the rates; no match returns an empty `results` list. Matching only looks at OPM's area names, not the counties and towns they cover, so a town missing from the names returns nothing, which does not mean Rest of U.S. Use get_opm_localities to resolve a place to its area.","operationId":"search_opm_pay","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"description":"Words to find in the locality area name or code, all required, case-insensitive.","examples":["chicago"],"title":"Q"},"description":"Words to find in the locality area name or code, all required, case-insensitive."},{"name":"grade","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":15,"minimum":1},{"type":"null"}],"description":"Return only this GS grade, 1 to 15.","title":"Grade"},"description":"Return only this GS grade, 1 to 15."},{"name":"step","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":10,"minimum":1},{"type":"null"}],"description":"Return only this step, 1 to 10.","title":"Step"},"description":"Return only this step, 1 to 10."}],"responses":{"200":{"description":"Search ran; `results` may be empty.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OPMPayResponse"},"example":{"year":2026,"results":[{"locality_code":"CHI","locality_name":"Chicago-Naperville, IL-IN-WI","locality_pct":30.86,"rates":[{"grade":9,"step":1,"annual":68999,"hourly":33.06,"overtime":49.59,"capped":false}]}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}}}},"/v1/opm/pay/{locality_code}":{"get":{"tags":["OPM - General Schedule pay"],"summary":"GS pay by locality code","description":"Return the latest pay table of a locality pay area, ordered by grade and step, or 404 for an unknown code. `grade` and `step` narrow the rates. Use `GS` for the base table without locality pay, and `RUS` for Rest of U.S.","operationId":"get_opm_pay","security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"parameters":[{"name":"locality_code","in":"path","required":true,"schema":{"type":"string","description":"OPM locality pay area code, from /v1/opm/localities, or GS for the base table. Case-insensitive.","examples":["CHI"],"title":"Locality Code"}},{"name":"grade","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":15,"minimum":1},{"type":"null"}],"description":"Return only this GS grade, 1 to 15.","title":"Grade"},"description":"Return only this GS grade, 1 to 15."},{"name":"step","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":10,"minimum":1},{"type":"null"}],"description":"Return only this step, 1 to 10.","title":"Step"},"description":"Return only this step, 1 to 10."}],"responses":{"200":{"description":"The code is known.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OPMPayResponse"},"example":{"year":2026,"results":[{"locality_code":"CHI","locality_name":"Chicago-Naperville, IL-IN-WI","locality_pct":30.86,"rates":[{"grade":9,"step":1,"annual":68999,"hourly":33.06,"overtime":49.59,"capped":false}]}]}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}},"schema":{"$ref":"#/components/schemas/APIErrorResponse"}}}}}}},"/v1/meta/latest":{"get":{"tags":["Metadata"],"summary":"Latest data publications","description":"Returns the most recent data loaded for each source, with its publication date and fiscal year: DSSR\nallowances and per diem, DTMO CONUS and OCONUS per diem, GSA per diem, mileage, vehicle rates and M&IE\nbreakdowns, FEMA hotels and OPM pay tables. Use it to say how current an answer is. Returns no rates.","operationId":"get_latest_publications","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LatestPublicationsResponse"}}}},"400":{"description":"Bad Request","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"invalid_request","message":"The request parameters are invalid.","request_id":"req_abc123def456","status_code":400}}}}},"401":{"description":"Unauthorized — Missing or invalid API key.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"unauthorized","message":"Missing or invalid API key.","request_id":"req_abc123def456","status_code":401}}}}},"403":{"description":"Forbidden — Insufficient permissions.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"forbidden","message":"You do not have permission to access this resource.","request_id":"req_abc123def456","status_code":403}}}}},"404":{"description":"Not Found","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"not_found","message":"The requested resource was not found.","request_id":"req_abc123def456","status_code":404}}}}},"422":{"description":"Validation Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"validation_error","message":"Request validation failed.","request_id":"req_abc123def456","errors":[{"field":"date","message":"Invalid date format. Use YYYY-MM-DD.","type":"value_error"}],"status_code":422}}}}},"429":{"description":"Too Many Requests — Rate limit exceeded.","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"rate_limited","message":"Rate limit exceeded. Try again later.","request_id":"req_abc123def456","status_code":429}}}}},"500":{"description":"Internal Server Error","headers":{"X-Request-ID":{"description":"Unique identifier for this request (generated by the server).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIErrorResponse"},"example":{"detail":{"code":"internal_error","message":"An unexpected server error occurred.","request_id":"req_abc123def456","status_code":500}}}}}},"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]}},"/v1/me":{"get":{"tags":["User"],"summary":"Get User","description":"Returns the account behind the API key: plan, monthly request limit, requests used in the current billing\nperiod, and the period start, end and renewal date. Use it to explain a quota or plan error or to check\nremaining requests. This call does not count against the quota.","operationId":"get_user","responses":{"200":{"description":"The authenticated account and its current billing-period usage.","content":{"application/json":{"schema":{},"examples":{"pro_account":{"summary":"Pro account with usage in the current billing period","description":"Response to GET /v1/me with a Pro account's X-API-Key. The request does not consume the account's query quota. monthly_queries_limit is returned as a string when configured through the environment.","value":{"user_id":123,"user_email":"developer@example.com","active_plan":"pro","renewal_date":"2026/11/01","period_start":"2026-10-01T00:00:00+00:00","period_end":"2026-11-01T00:00:00+00:00","monthly_queries_limit":"5000","used_queries":127,"status":"ok"}}}}}}},"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}],"x-mcp":{"title":"Account plan and quota"}}}},"components":{"schemas":{"APIErrorDetail":{"properties":{"code":{"type":"string","enum":["validation_error","unauthorized","forbidden","not_found","rate_limited","internal_error"],"title":"Code","example":"validation_error"},"message":{"type":"string","title":"Message","example":"Request validation failed."},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id","description":"Unique identifier for this request.","example":"req_a1b2c3d4e5f6"},"errors":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Errors","description":"Optional list of field-level validation errors."},"status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status Code","description":"HTTP status code repeated in calculator error responses for durable audit records."},"context":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Context","description":"Optional structured context for resolving a calculator-specific error."}},"type":"object","required":["code","message"],"title":"APIErrorDetail"},"APIErrorResponse":{"properties":{"detail":{"$ref":"#/components/schemas/APIErrorDetail"}},"type":"object","required":["detail"],"title":"APIErrorResponse"},"COLAData":{"properties":{"effective_date":{"type":"string","title":"","description":"Biweekly publication date of the DSSR rates.","example":"2026-01-11"},"post_allowance":{"type":"integer","title":"Post Allowance","description":"The Cost of Living Allowance rate, in percentage of base compensation.","example":20}},"type":"object","required":["effective_date","post_allowance"],"title":"COLAData"},"CountryResponse":{"properties":{"name":{"type":"string","title":"","description":"The full, official name of the country recognized by the US Government.","example":"Australia"},"iso_code":{"type":"string","maxLength":2,"minLength":2,"title":"","description":"The 2-letter ISO 3166-1 alpha-2 country code.","example":"AU"},"locations":{"items":{"type":"string","title":"","description":"The specific city, region, or installation name recognized by the DSSR.","example":"Adelaide"},"type":"array","title":"Locations"},"notes":{"items":{"type":"string"},"type":"array","title":"Notes","description":"Any special considerations regarding the country are listed in the notes."}},"type":"object","required":["name","iso_code","locations","notes"],"title":"CountryResponse"},"CountryResponseWithLocations":{"properties":{"name":{"type":"string","title":"","description":"The full, official name of the country recognized by the US Government.","example":"Australia"},"iso_code":{"type":"string","maxLength":2,"minLength":2,"title":"","description":"The 2-letter ISO 3166-1 alpha-2 country code.","example":"AU"},"locations":{"items":{"$ref":"#/components/schemas/NestedLocationResponse"},"type":"array","title":"Locations","default":[]},"notes":{"items":{"type":"string"},"type":"array","title":"Notes","description":"Any special considerations regarding the country are listed in the notes."}},"type":"object","required":["name","iso_code","notes"],"title":"CountryResponseWithLocations"},"DSSRAllowancesResponse":{"properties":{"effective_date":{"type":"string","title":"","description":"Biweekly publication date of the DSSR rates.","example":"2026-01-11"},"verification_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"","description":"Optional. The official U.S. Department of State URL where this data can be verified. Add include=verification_url to your query to include it.","example":"https://allowances.state.gov/Web920/search_action.asp?PostCode=10244&MenuHide=1&COLABox=1&EducationBox=1&HardshipBox=1&DangerPayBox=1&LQABox=1&PerdiemBox=1&EffectiveDate=20260308"},"results":{"items":{"$ref":"#/components/schemas/DSSRAllowancesResults"},"type":"array","title":"Results"}},"type":"object","required":["effective_date","results"],"title":"DSSRAllowancesResponse"},"DSSRAllowancesResults":{"properties":{"country":{"type":"string","title":"","description":"The full, official name of the country recognized by the US Government.","example":"Australia"},"iso_code":{"type":"string","maxLength":2,"minLength":2,"title":"","description":"The 2-letter ISO 3166-1 alpha-2 country code.","example":"AU"},"location":{"type":"string","title":"","description":"The specific city, region, or installation name recognized by the DSSR.","example":"Adelaide"},"postcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"","description":"The official DSSR Post Code identifier for this specific location.","example":"10244"},"cola":{"anyOf":[{"$ref":"#/components/schemas/COLAData"},{"type":"null"}]},"hardship":{"anyOf":[{"$ref":"#/components/schemas/HardshipData"},{"type":"null"}]},"lqa":{"anyOf":[{"$ref":"#/components/schemas/LQAData"},{"type":"null"}]},"danger_pay":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Danger Pay"},"education":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Education"},"perdiem":{"anyOf":[{"items":{"$ref":"#/components/schemas/DSSRPerDiemData"},"type":"array"},{"type":"null"}],"title":"Perdiem"}},"type":"object","required":["country","iso_code","location"],"title":"DSSRAllowancesResults"},"DSSRColaCalulatorResponse":{"properties":{"effective_date":{"type":"string","title":"","description":"Biweekly publication date of the DSSR rates.","example":"2026-01-11"},"base_salary":{"type":"integer","title":"Base Salary"},"family_size":{"type":"integer","title":"Family Size"},"cola_rate":{"type":"integer","title":"Cola Rate"},"annual_cola":{"type":"integer","title":"Annual Cola"},"biweekly_cola":{"type":"integer","title":"Biweekly Cola"}},"type":"object","required":["effective_date","base_salary","family_size","cola_rate","annual_cola","biweekly_cola"],"title":"DSSRColaCalulatorResponse"},"DSSRLatestPublications":{"properties":{"allowances":{"$ref":"#/components/schemas/LatestPublication"},"perdiem":{"$ref":"#/components/schemas/LatestPublication"}},"type":"object","required":["allowances","perdiem"],"title":"DSSRLatestPublications"},"DSSRPerDiemData":{"properties":{"lodging":{"type":"integer","title":"Lodging","description":"The maximum lodging allowance in USD per day.","example":250},"meals_incidental":{"type":"integer","title":"Meals Incidental","description":"The maximum meals and incidental expenses (M&IE) allowance in USD per day.","example":75},"maximum_perdiem":{"type":"integer","title":"Maximum Perdiem","description":"The maximum total per diem rate, calculated as the sum of lodging + meals and incidental","example":325},"season":{"type":"string","title":"Season","description":"The season number in format 'S1'/'S2'","default":"S1","example":"S1"},"season_begin":{"type":"string","pattern":"^\\d{2}/\\d{2}$","title":"Season Begin","description":"The starting month and day for this seasonal rate.","example":"01/01"},"season_end":{"type":"string","pattern":"^\\d{2}/\\d{2}$","title":"Season End"},"publish_date":{"type":"string","format":"date","title":"Publish Date","description":"The latest publication date for this rate"},"effective_date":{"type":"string","format":"date","title":"Effective Date","description":"The date of the last update for this rate. A rate can be published for months or years (publish_date) without changing (effective_date stays the same)."},"footnote_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Footnote Reference"}},"type":"object","required":["lodging","meals_incidental","maximum_perdiem","season_begin","season_end","publish_date","effective_date"],"title":"DSSRPerDiemData"},"DSSRPerDiemResponse":{"properties":{"effective_date":{"type":"string","title":"","description":"Biweekly publication date of the DSSR rates.","example":"2026-01-11"},"verification_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"","description":"Optional. The official U.S. Department of State URL where this data can be verified. Add include=verification_url to your query to include it.","example":"https://allowances.state.gov/Web920/search_action.asp?PostCode=10244&MenuHide=1&COLABox=1&EducationBox=1&HardshipBox=1&DangerPayBox=1&LQABox=1&PerdiemBox=1&EffectiveDate=20260308"},"results":{"items":{"$ref":"#/components/schemas/DSSRPerDiemResults"},"type":"array","title":"Results"}},"type":"object","required":["effective_date","results"],"title":"DSSRPerDiemResponse"},"DSSRPerDiemResults":{"properties":{"country":{"type":"string","title":"","description":"The full, official name of the country recognized by the US Government.","example":"Australia"},"iso_code":{"type":"string","maxLength":2,"minLength":2,"title":"","description":"The 2-letter ISO 3166-1 alpha-2 country code.","example":"AU"},"location":{"type":"string","title":"","description":"The specific city, region, or installation name recognized by the DSSR.","example":"Adelaide"},"postcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"","description":"The official DSSR Post Code identifier for this specific location.","example":"10244"},"perdiem":{"anyOf":[{"items":{"$ref":"#/components/schemas/DSSRPerDiemData"},"type":"array"},{"type":"null"}],"title":"Perdiem","default":[]}},"type":"object","required":["country","iso_code","location"],"title":"DSSRPerDiemResults"},"DTMOConusLocationRead":{"properties":{"state":{"type":"string","title":"","description":"US State Name.","example":"California"},"state_iso":{"type":"string","maxLength":5,"minLength":5,"title":"","description":"The 4-letter ISO 3166-2:US state code. The first part is US, the ISO 3166-1 alpha-2 code of the United States. The second part is two letters, which is the postal abbreviation of the state, district, or outlying area.","example":"US-CA"},"county":{"type":"string","title":"County"},"name":{"type":"string","title":"","description":"The specific city, region, or installation name recognized by the DSSR.","example":"Adelaide"},"source":{"type":"string","enum":["DSSR","DTMO","GSA","dssr","dtmo","gsa"],"title":"","description":"The authoritative government source of this location and rate data.","example":"DSSR"}},"type":"object","required":["state","state_iso","county","name","source"],"title":"DTMOConusLocationRead"},"DTMOLatestPublications":{"properties":{"oconus_perdiem":{"$ref":"#/components/schemas/LatestPublication"},"conus_perdiem":{"$ref":"#/components/schemas/LatestPublication"}},"type":"object","required":["oconus_perdiem","conus_perdiem"],"title":"DTMOLatestPublications"},"DTMOOconusLocationRead":{"properties":{"country":{"type":"string","title":"","description":"The full, official name of the country recognized by the US Government.","example":"Australia"},"country_iso_code":{"type":"string","maxLength":2,"minLength":2,"title":"","description":"The 2-letter ISO 3166-1 alpha-2 country code.","example":"AU"},"name":{"type":"string","title":"","description":"The specific city, region, or installation name recognized by the DSSR.","example":"Adelaide"},"source":{"type":"string","enum":["DSSR","DTMO","GSA","dssr","dtmo","gsa"],"title":"","description":"The authoritative government source of this location and rate data.","example":"DSSR"}},"type":"object","required":["country","country_iso_code","name","source"],"title":"DTMOOconusLocationRead"},"FEMALatestPublications":{"properties":{"hotels":{"$ref":"#/components/schemas/LatestPublication"}},"type":"object","required":["hotels"],"title":"FEMALatestPublications"},"FemaHotelPageResponse":{"properties":{"as_of":{"type":"string","format":"date","title":"As Of","description":"Date of the FEMA list snapshot the results come from. FEMA publishes the current list only; there is no history.","example":"2026-10-24"},"results":{"items":{"$ref":"#/components/schemas/FemaHotelRead"},"type":"array","title":"Results"},"total":{"type":"integer","title":"Total","description":"Number of properties matching the query, ignoring pagination.","example":1},"offset":{"type":"integer","title":"Offset","description":"Offset applied to this page.","example":0},"limit":{"type":"integer","title":"Limit","description":"Maximum number of properties in this page.","example":50}},"type":"object","required":["as_of","results","total","offset","limit"],"title":"FemaHotelPageResponse"},"FemaHotelRead":{"properties":{"fema_id":{"type":"string","title":"Fema Id","description":"FEMA ID printed on the National Master List; the identifier travelers quote on vouchers.","example":"VA6026"},"name":{"type":"string","title":"Name","example":"Mint House Alexandria - Old Town"},"street":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Street","description":"Street address; null when FEMA lists only a P.O. box.","example":"750 Thornton Way"},"city":{"type":"string","title":"City","example":"Alexandria"},"state":{"type":"string","title":"State","description":"Two-letter state or territory code.","example":"VA"},"zipcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zipcode","description":"Five-digit ZIP code.","example":"22314"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","example":"855-972-9090"},"property_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Type","description":"FEMA category: Hotel/Motel, Apartment/Condo, Bed & Breakfast, Short Term Rental, College/University or Military.","example":"Hotel/Motel"},"stories":{"type":"integer","title":"Stories","description":"Number of floors as registered with FEMA.","example":5},"sprinklers":{"type":"boolean","title":"Sprinklers","description":"True when FEMA records an automatic sprinkler system.","example":true}},"type":"object","required":["fema_id","name","street","city","state","zipcode","phone","property_type","stories","sprinklers"],"title":"FemaHotelRead"},"FemaHotelResponse":{"properties":{"as_of":{"type":"string","format":"date","title":"As Of","description":"Date of the FEMA list snapshot the results come from. FEMA publishes the current list only; there is no history.","example":"2026-10-24"},"results":{"items":{"$ref":"#/components/schemas/FemaHotelRead"},"type":"array","title":"Results"}},"type":"object","required":["as_of","results"],"title":"FemaHotelResponse"},"FleetRateType":{"type":"string","enum":["standard","europe"],"title":"FleetRateType"},"GSACityPairLocationRead":{"properties":{"code":{"type":"string","title":"Code","description":"GSA airport or metropolitan city code as used in City Pair awards."},"city_name":{"type":"string","title":"City Name","description":"GSA's city label; several codes can share one city."},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"US state abbreviation; null outside the United States."},"country":{"type":"string","title":"Country"}},"type":"object","required":["code","city_name","country"],"title":"GSACityPairLocationRead"},"GSACityPairRead":{"properties":{"fiscal_year":{"type":"integer","title":"Fiscal Year"},"origin_code":{"type":"string","title":"Origin Code"},"destination_code":{"type":"string","title":"Destination Code"},"airline_code":{"type":"string","title":"Airline Code"},"service":{"type":"string","enum":["N","C"],"title":"Service","description":"N = non-stop; C = connecting."},"effective_date":{"type":"string","format":"date","title":"Effective Date"},"expiration_date":{"type":"string","format":"date","title":"Expiration Date"},"yca_fare":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Yca Fare","description":"One-way USD last-seat coach fare; null when unavailable."},"ca_fare":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ca Fare","description":"One-way USD capacity-controlled coach fare; null when unavailable."},"business_fare":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Business Fare","description":"One-way USD business (_CB) fare; null when unavailable."},"cp_fare":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cp Fare","description":"One-way USD premium economy (_CP) fare; null when unavailable."},"cn_fare":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cn Fare","description":"One-way USD non-refundable capacity-controlled fare; null when unavailable."}},"type":"object","required":["fiscal_year","origin_code","destination_code","airline_code","service","effective_date","expiration_date"],"title":"GSACityPairRead"},"GSACityPairResponse":{"properties":{"effective_date":{"type":"string","format":"date","title":"Effective Date"},"verification_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Url"},"results":{"items":{"$ref":"#/components/schemas/GSACityPairRead"},"type":"array","title":"Results"}},"type":"object","required":["effective_date","results"],"title":"GSACityPairResponse"},"GSADestinationResponse":{"properties":{"destination_id":{"type":"integer","title":"Destination Id","description":"GSA's numeric identifier for the rate area. ID 0 is the Standard CONUS rate.","example":2},"name":{"type":"string","title":"Name","description":"Display name GSA uses for the destination rate area.","example":"Gulf Shores"},"defined_name":{"type":"string","title":"Defined Name","description":"Geographic area GSA uses to define the destination, commonly a county or locality.","example":"Baldwin"},"county":{"type":"string","title":"County","description":"County associated with the destination rate area.","example":"Baldwin"},"state":{"type":"string","title":"","description":"US State Name.","example":"California"},"state_iso":{"type":"string","maxLength":5,"minLength":5,"title":"","description":"The 4-letter ISO 3166-2:US state code. The first part is US, the ISO 3166-1 alpha-2 code of the United States. The second part is two letters, which is the postal abbreviation of the state, district, or outlying area.","example":"US-CA"}},"type":"object","required":["destination_id","name","defined_name","county","state","state_iso"],"title":"GSADestinationResponse"},"GSAFedRoomsHotelRead":{"properties":{"name":{"type":"string","title":"Name","description":"Hotel name as listed by GSA."},"address":{"type":"string","title":"Address","description":"Complete source street address."},"city":{"type":"string","title":"City","description":"Source postal city."},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"Source state or region name, null when not provided."},"zipcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zipcode","description":"Complete source postal code, including international formats; null when absent."},"country":{"type":"string","title":"Country","description":"Source country name."},"country_iso_code":{"type":"string","title":"Country Iso Code","description":"ISO 3166-1 alpha-2 country code, e.g. US or GB."}},"type":"object","required":["name","address","city","state","zipcode","country","country_iso_code"],"title":"GSAFedRoomsHotelRead"},"GSAFedRoomsResponse":{"properties":{"as_of":{"type":"string","format":"date","title":"As Of","description":"UTC download date of the loaded snapshot, not its publication or effective date."},"verification_url":{"type":"string","title":"Verification Url","description":"Official GSA FedRooms page; always included."},"total":{"type":"integer","title":"Total","description":"Total matching properties across all pages."},"offset":{"type":"integer","title":"Offset","description":"Number of properties skipped."},"limit":{"type":"integer","title":"Limit","description":"Maximum properties on this page."},"results":{"items":{"$ref":"#/components/schemas/GSAFedRoomsHotelRead"},"type":"array","title":"Results","description":"Worldwide FedRooms properties with every source column."}},"type":"object","required":["as_of","verification_url","total","offset","limit","results"],"title":"GSAFedRoomsResponse"},"GSAFleetRateRead":{"properties":{"fiscal_year":{"type":"integer","title":"Fiscal Year","description":"US fiscal year the rates apply to (starts Oct 1st, ends Sep 30th)"},"monthly_rate":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Rate","description":"Monthly lease rate in USD. Null when the vehicle has no fixed monthly rate, see monthly_rate_type."},"monthly_rate_type":{"$ref":"#/components/schemas/MonthlyRateType","description":"'fixed' when monthly_rate holds the amount. 'see_fsr', 'unique_rate' and 'unique_rate_use_rate_module' mean the monthly rate is set per vehicle by GSA Fleet and monthly_rate is null."},"mileage_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mileage Rate","description":"Rate per mile in USD"}},"type":"object","required":["fiscal_year","monthly_rate_type"],"title":"GSAFleetRateRead"},"GSAFleetRateResponse":{"properties":{"sin":{"type":"string","title":"Sin","description":"Standard Item Number of the vehicle type","examples":["10B"]},"vehicle_description":{"type":"string","title":"Vehicle Description","examples":["Sedan, Midsize"]},"rate_type":{"$ref":"#/components/schemas/FleetRateType"},"results":{"items":{"$ref":"#/components/schemas/GSAFleetRateRead"},"type":"array","title":"Results"},"verification_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Url"}},"type":"object","required":["sin","vehicle_description","rate_type","results"],"title":"GSAFleetRateResponse"},"GSALatestPublications":{"properties":{"conus_perdiem":{"$ref":"#/components/schemas/LatestPublication"},"mileage":{"$ref":"#/components/schemas/LatestPublication"},"vehicle_rates":{"$ref":"#/components/schemas/LatestPublication"},"mie_breakdown":{"$ref":"#/components/schemas/LatestPublication"}},"type":"object","required":["conus_perdiem","mileage","vehicle_rates","mie_breakdown"],"title":"GSALatestPublications"},"GSAMieBreakdownRead":{"properties":{"region":{"$ref":"#/components/schemas/MieBreakdownRegion","description":"Breakdown table the row belongs to: 'conus' covers the standard CONUS M&IE tiers, 'oconus' covers the M&IE totals set by DTMO/DSSR for OCONUS locations.","example":"conus"},"effective_date":{"type":"string","format":"date","title":"Effective Date","description":"Date this breakdown took effect (the 'Last updated' date published by GSA).","example":"2026-06-23"},"mie_total":{"type":"integer","title":"Mie Total","description":"Daily M&IE total in USD the breakdown applies to","example":68},"breakfast":{"type":"integer","title":"Breakfast","description":"Breakfast portion of the M&IE total, in USD per day.","example":16},"lunch":{"type":"integer","title":"Lunch","description":"Lunch portion of the M&IE total, in USD per day.","example":19},"dinner":{"type":"integer","title":"Dinner","description":"Dinner portion of the M&IE total, in USD per day.","example":28},"incidentals":{"type":"integer","title":"Incidentals","description":"Incidental expenses portion of the M&IE total, in USD per day.","example":5},"first_last_day":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"First Last Day","description":"First and last day of travel rate (75% of the M&IE total) in USD. CONUS only.","example":51.0}},"type":"object","required":["region","effective_date","mie_total","breakfast","lunch","dinner","incidentals"],"title":"GSAMieBreakdownRead"},"GSAMieBreakdownResponse":{"properties":{"effective_date":{"type":"string","format":"date","title":"Effective Date"},"verification_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Url"},"results":{"items":{"$ref":"#/components/schemas/GSAMieBreakdownRead"},"type":"array","title":"Results"}},"type":"object","required":["effective_date","results"],"title":"GSAMieBreakdownResponse"},"GSAMileageRead":{"properties":{"mileage_type":{"$ref":"#/components/schemas/MileageType"},"effective_date":{"type":"string","format":"date","title":"Effective Date"},"rate_per_mile":{"type":"number","title":"Rate Per Mile"}},"type":"object","required":["mileage_type","effective_date","rate_per_mile"],"title":"GSAMileageRead"},"GSAMileageResponse":{"properties":{"effective_date":{"type":"string","format":"date","title":"Effective Date"},"verification_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Url"},"results":{"items":{"$ref":"#/components/schemas/GSAMileageRead"},"type":"array","title":"Results"}},"type":"object","required":["effective_date","results"],"title":"GSAMileageResponse"},"GSAMonthlyRates":{"properties":{"oct":{"type":"integer","title":"Oct"},"nov":{"type":"integer","title":"Nov"},"dec":{"type":"integer","title":"Dec"},"jan":{"type":"integer","title":"Jan"},"feb":{"type":"integer","title":"Feb"},"mar":{"type":"integer","title":"Mar"},"apr":{"type":"integer","title":"Apr"},"may":{"type":"integer","title":"May"},"jun":{"type":"integer","title":"Jun"},"jul":{"type":"integer","title":"Jul"},"aug":{"type":"integer","title":"Aug"},"sep":{"type":"integer","title":"Sep"}},"type":"object","required":["oct","nov","dec","jan","feb","mar","apr","may","jun","jul","aug","sep"],"title":"GSAMonthlyRates"},"GSAPerDiemResponse":{"properties":{"effective_date":{"type":"string","format":"date","title":"Effective Date"},"verification_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Url"},"results":{"items":{"$ref":"#/components/schemas/PerDiemGSARead"},"type":"array","title":"Results"}},"type":"object","required":["effective_date","results"],"title":"GSAPerDiemResponse"},"GSAPerDiemYearRead":{"properties":{"state":{"type":"string","title":"State"},"iso_code":{"type":"string","title":"Iso Code"},"destination_id":{"type":"integer","title":"Destination Id"},"destination":{"type":"string","title":"Destination"},"county":{"type":"string","title":"County"},"lodging":{"$ref":"#/components/schemas/GSAMonthlyRates"},"meals_incidental":{"type":"integer","title":"Meals Incidental"}},"type":"object","required":["state","iso_code","destination_id","destination","county","lodging","meals_incidental"],"title":"GSAPerDiemYearRead"},"GSAPerDiemYearResponse":{"properties":{"effective_date":{"type":"string","format":"date","title":"Effective Date"},"verification_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Url"},"results":{"items":{"$ref":"#/components/schemas/GSAPerDiemYearRead"},"type":"array","title":"Results"}},"type":"object","required":["effective_date","results"],"title":"GSAPerDiemYearResponse"},"GSATripCalculationRequest":{"properties":{"stops":{"items":{"$ref":"#/components/schemas/GSATripStopRequest"},"type":"array","maxItems":50,"minItems":1,"title":"Stops","description":"Ordered, contiguous TDY-locality stops for the trip."},"deductible_meals":{"items":{"$ref":"#/components/schemas/GSATripDeductibleMealsRequest"},"type":"array","title":"Deductible Meals","description":"Sparse caller-determined meal deductions, keyed by trip date."},"verification_url":{"type":"boolean","title":"Verification Url","description":"Include deduplicated official GSA verification URLs when true.","default":false}},"additionalProperties":false,"type":"object","required":["stops"],"title":"GSATripCalculationRequest","examples":[{"ambiguous_zip":{"summary":"Ambiguous ZIP returns candidates","value":{"stops":[{"arrival_date":"2026-07-10","departure_date":"2026-07-12","location":{"zipcode":"01366"}}]}},"basic_complete_trip":{"summary":"Basic trip with complete lodging actuals","value":{"stops":[{"arrival_date":"2026-10-01","departure_date":"2026-10-03","location":{"zipcode":"20001"},"lodging_cost_per_night":250}],"verification_url":true}},"destination_retry":{"summary":"Retry an ambiguous ZIP with the selected destination","value":{"stops":[{"arrival_date":"2026-07-10","departure_date":"2026-07-12","location":{"destination_id":160,"zipcode":"01366"}}]}},"incidental_floor":{"summary":"All meal deductions trigger the incidental floor","value":{"deductible_meals":[{"date":"2026-07-10","meals":["breakfast","lunch","dinner"]}],"stops":[{"arrival_date":"2026-07-10","departure_date":"2026-07-10","location":{"destination_id":75}}]}},"lodging_caps_only":{"summary":"Omitted lodging actuals return caps and null lodging totals","value":{"stops":[{"arrival_date":"2026-07-10","departure_date":"2026-07-12","location":{"destination_id":75}}]}},"multi_stop_transition":{"summary":"The arriving stop owns the shared transition date","value":{"stops":[{"arrival_date":"2026-07-10","departure_date":"2026-07-11","location":{"destination_id":75},"lodging_cost_per_night":200},{"arrival_date":"2026-07-11","departure_date":"2026-07-12","location":{"destination_id":160},"lodging_cost_per_night":150}]}},"single_day":{"summary":"Conditional single-day subsistence calculation","value":{"stops":[{"arrival_date":"2026-07-10","departure_date":"2026-07-10","location":{"destination_id":75}}]}}}]},"GSATripCalculationResponse":{"properties":{"trip":{"$ref":"#/components/schemas/GSATripMetadata","description":"Inclusive trip date and day/night counts."},"totals":{"$ref":"#/components/schemas/GSATripTotals","description":"Reconciled totals built from rounded daily components."},"days":{"items":{"$ref":"#/components/schemas/GSATripDayResult"},"type":"array","title":"Days","description":"Self-contained daily entitlement audit records."},"notes":{"items":{"type":"string"},"type":"array","title":"Notes","description":"Calculation-specific qualifications; empty for ordinary trips."},"verification_urls":{"anyOf":[{"items":{"$ref":"#/components/schemas/GSATripVerificationUrl"},"type":"array"},{"type":"null"}],"title":"Verification Urls","description":"Deduplicated official URLs, omitted unless requested."},"calculation_version":{"type":"string","title":"Calculation Version","description":"Version identifier for result-affecting calculator rules."},"source_fingerprint":{"type":"string","title":"Source Fingerprint","description":"SHA-256 fingerprint of distinct source values used; not a snapshot ID."},"request_id":{"type":"string","title":"Request Id","description":"Server-generated request identifier matching the response header."}},"type":"object","required":["trip","totals","days","notes","calculation_version","source_fingerprint","request_id"],"title":"GSATripCalculationResponse","examples":[{"calculation_version":"gsa-trip-v1","days":[],"notes":[],"request_id":"req_abc123def456","source_fingerprint":"sha256:6d287e...","totals":{"lodging_actuals_complete":true,"lodging_overage":"0.00","lodging_payable":"500.00","mie_payable":"145.00","total_payable":"645.00"},"trip":{"days":3,"end_date":"2026-10-03","nights":2,"start_date":"2026-10-01"}}]},"GSATripDayResult":{"properties":{"date":{"type":"string","format":"date","title":"Date","description":"Calendar date represented by this audit record."},"locality":{"$ref":"#/components/schemas/GSATripLocality","description":"TDY locality supplying the date's GSA rate."},"rate_source":{"type":"string","const":"gsa","title":"Rate Source","description":"Government rate source used by this calculator.","default":"gsa"},"fiscal_year":{"type":"integer","title":"Fiscal Year","description":"GSA fiscal year of the selected per diem row."},"per_diem_effective_date":{"type":"string","format":"date","title":"Per Diem Effective Date","description":"Effective date of the selected GSA per diem source row."},"mie_breakdown_effective_date":{"type":"string","format":"date","title":"Mie Breakdown Effective Date","description":"Effective date of the selected M&IE breakdown source row."},"day_type":{"$ref":"#/components/schemas/GSATripDayType","description":"Day classification controlling M&IE proration."},"mie":{"$ref":"#/components/schemas/GSATripMieResult","description":"M&IE calculation for this date."},"lodging":{"$ref":"#/components/schemas/GSATripLodgingResult","description":"Lodging calculation for the night beginning on this date."}},"type":"object","required":["date","locality","fiscal_year","per_diem_effective_date","mie_breakdown_effective_date","day_type","mie","lodging"],"title":"GSATripDayResult"},"GSATripDayType":{"type":"string","enum":["first","full","last","single_day"],"title":"GSATripDayType"},"GSATripDeductibleMealsRequest":{"properties":{"date":{"type":"string","format":"date","title":"Date","description":"Inclusive trip date on which meals are deducted."},"meals":{"items":{"$ref":"#/components/schemas/GSATripMeal"},"type":"array","minItems":1,"title":"Meals","description":"Non-empty unique breakfast/lunch/dinner deductions for the date."}},"additionalProperties":false,"type":"object","required":["date","meals"],"title":"GSATripDeductibleMealsRequest"},"GSATripLocality":{"properties":{"destination_id":{"type":"integer","title":"Destination Id","description":"GSA destination ID supplying this date's rate."},"name":{"type":"string","title":"Name","description":"GSA destination display name."},"county":{"type":"string","title":"County","description":"County or CONUS area associated with the destination."}},"type":"object","required":["destination_id","name","county"],"title":"GSATripLocality"},"GSATripLocationRequest":{"properties":{"zipcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zipcode","description":"Five-digit US ZIP or ZIP+4. ZIP+4 is normalized to five digits.","examples":["20001","20001-1234"]},"destination_id":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Destination Id","description":"GSA destination identifier. Destination 0 is Standard CONUS.","examples":[123]}},"additionalProperties":false,"type":"object","title":"GSATripLocationRequest"},"GSATripLodgingResult":{"properties":{"night":{"type":"boolean","title":"Night","description":"Whether an overnight stay begins on this date."},"cap":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"USD amount serialized as a fixed two-decimal string.","example":"60.00"},{"type":"null"}],"title":"Cap","description":"Applicable GSA room-rate cap for this night."},"actual":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"USD amount serialized as a fixed two-decimal string.","example":"60.00"},{"type":"null"}],"title":"Actual","description":"Caller-supplied actual room cost, if available."},"payable":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"USD amount serialized as a fixed two-decimal string.","example":"60.00"},{"type":"null"}],"title":"Payable","description":"Actual room cost payable up to the cap."},"overage":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"USD amount serialized as a fixed two-decimal string.","example":"60.00"},{"type":"null"}],"title":"Overage","description":"Actual nightly room cost above the GSA lodging cap. This amount is not included in lodging_payable or total_payable."}},"type":"object","required":["night"],"title":"GSATripLodgingResult"},"GSATripMeal":{"type":"string","enum":["breakfast","lunch","dinner"],"title":"GSATripMeal"},"GSATripMetadata":{"properties":{"start_date":{"type":"string","format":"date","title":"Start Date","description":"First inclusive trip date."},"end_date":{"type":"string","format":"date","title":"End Date","description":"Final inclusive return date."},"days":{"type":"integer","title":"Days","description":"Number of M&IE calendar days."},"nights":{"type":"integer","title":"Nights","description":"Number of lodging nights."}},"type":"object","required":["start_date","end_date","days","nights"],"title":"GSATripMetadata"},"GSATripMieBreakdown":{"properties":{"breakfast":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Breakfast","description":"Full breakfast deduction amount.","example":"60.00"},"lunch":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Lunch","description":"Full lunch deduction amount.","example":"60.00"},"dinner":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Dinner","description":"Full dinner deduction amount.","example":"60.00"},"incidentals":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Incidentals","description":"Retained incidental-expense amount and payable floor.","example":"60.00"}},"type":"object","required":["breakfast","lunch","dinner","incidentals"],"title":"GSATripMieBreakdown"},"GSATripMieResult":{"properties":{"full_rate":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Full Rate","description":"Full daily GSA M&IE rate.","example":"60.00"},"proration_factor":{"type":"number","title":"Proration Factor","description":"0.75 on first/last/single days and 1.0 on full days."},"prorated_rate":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Prorated Rate","description":"Full rate multiplied by the applicable proration factor.","example":"60.00"},"deducted_meals":{"items":{"$ref":"#/components/schemas/GSATripMeal"},"type":"array","title":"Deducted Meals","description":"Normalized caller-supplied meals deducted on this date."},"meal_deductions":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Meal Deductions","description":"Sum of the full meal-specific deduction amounts.","example":"60.00"},"payable":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Payable","description":"M&IE payable after deductions and the incidental floor.","example":"60.00"},"breakdown":{"$ref":"#/components/schemas/GSATripMieBreakdown","description":"Official meal-specific breakdown used for deductions."}},"type":"object","required":["full_rate","proration_factor","prorated_rate","deducted_meals","meal_deductions","payable","breakdown"],"title":"GSATripMieResult"},"GSATripStopRequest":{"properties":{"location":{"$ref":"#/components/schemas/GSATripLocationRequest","description":"TDY locality for the stop; not merely the hotel location."},"arrival_date":{"type":"string","format":"date","title":"Arrival Date","description":"First calendar date owned by this stop."},"departure_date":{"type":"string","format":"date","title":"Departure Date","description":"Shared boundary/return date; the arriving next stop owns a transition date."},"lodging_cost_per_night":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Lodging Cost Per Night","description":"Optional actual room cost applied to every lodging night in this stop. Must be a JSON number with no more than two decimal places.","examples":[250.0]}},"additionalProperties":false,"type":"object","required":["location","arrival_date","departure_date"],"title":"GSATripStopRequest"},"GSATripTotals":{"properties":{"lodging_payable":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"USD amount serialized as a fixed two-decimal string.","example":"60.00"},{"type":"null"}],"title":"Lodging Payable","description":"Sum of payable lodging, or null if any actual is missing."},"mie_payable":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","title":"Mie Payable","description":"Sum of all rounded daily payable M&IE amounts.","example":"60.00"},"total_payable":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"USD amount serialized as a fixed two-decimal string.","example":"60.00"},{"type":"null"}],"title":"Total Payable","description":"Lodging plus M&IE, or null if any lodging actual is missing."},"lodging_overage":{"anyOf":[{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"USD amount serialized as a fixed two-decimal string.","example":"60.00"},{"type":"null"}],"title":"Lodging Overage","description":"Non-payable actual lodging above caps, or null if incomplete."},"lodging_actuals_complete":{"type":"boolean","title":"Lodging Actuals Complete","description":"True when every lodging night has an actual cost."}},"type":"object","required":["lodging_payable","mie_payable","total_payable","lodging_overage","lodging_actuals_complete"],"title":"GSATripTotals"},"GSATripVerificationUrl":{"properties":{"type":{"type":"string","enum":["per_diem","mie_breakdown"],"title":"Type","description":"Source page represented by the URL."},"url":{"type":"string","title":"Url","description":"Official GSA source URL."},"destination_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Destination Id","description":"Destination represented by a per-diem URL."},"fiscal_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fiscal Year","description":"Fiscal year represented by a per-diem URL."}},"type":"object","required":["type","url"],"title":"GSATripVerificationUrl"},"HardshipData":{"properties":{"rate":{"type":"integer","title":"Rate","description":"Post hardship differential rate, in percentage of base compensation.","example":10},"effective_date":{"type":"string","title":"","description":"Biweekly publication date of the DSSR rates.","example":"2026-01-11"}},"type":"object","required":["rate","effective_date"],"title":"HardshipData"},"LQAData":{"properties":{"with_family_group_2":{"type":"integer","title":"With Family Group 2"},"with_family_group_3":{"type":"integer","title":"With Family Group 3"},"with_family_group_4":{"type":"integer","title":"With Family Group 4"},"without_family_group_2":{"type":"integer","title":"Without Family Group 2"},"without_family_group_3":{"type":"integer","title":"Without Family Group 3"},"without_family_group_4":{"type":"integer","title":"Without Family Group 4"},"effective_date":{"type":"string","title":"","description":"Biweekly publication date of the DSSR rates.","example":"2026-01-11"}},"type":"object","required":["with_family_group_2","with_family_group_3","with_family_group_4","without_family_group_2","without_family_group_3","without_family_group_4","effective_date"],"title":"LQAData"},"LatestPublication":{"properties":{"published_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Published Date"},"fiscal_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fiscal Year"}},"type":"object","title":"LatestPublication"},"LatestPublicationsResponse":{"properties":{"dssr":{"$ref":"#/components/schemas/DSSRLatestPublications"},"dtmo":{"$ref":"#/components/schemas/DTMOLatestPublications"},"gsa":{"$ref":"#/components/schemas/GSALatestPublications"},"fema":{"$ref":"#/components/schemas/FEMALatestPublications"},"opm":{"$ref":"#/components/schemas/OPMLatestPublications"}},"type":"object","required":["dssr","dtmo","gsa","fema","opm"],"title":"LatestPublicationsResponse","examples":[{"dssr":{"allowances":{"fiscal_year":2026,"published_date":"2026-07-12"},"perdiem":{"fiscal_year":2026,"published_date":"2026-07-01"}},"dtmo":{"conus_perdiem":{"fiscal_year":2026,"published_date":"2025-10-01"},"oconus_perdiem":{"fiscal_year":2026,"published_date":"2026-07-01"}},"fema":{"hotels":{"fiscal_year":2027,"published_date":"2026-10-24"}},"gsa":{"conus_perdiem":{"fiscal_year":2026,"published_date":"2025-10-01"},"mie_breakdown":{"fiscal_year":2026,"published_date":"2025-10-01"},"mileage":{"fiscal_year":2026,"published_date":"2026-01-01"},"vehicle_rates":{"fiscal_year":2026,"published_date":"2025-10-01"}},"opm":{"pay_tables":{"fiscal_year":2026,"published_date":"2026-01-01"}}}]},"LocationRead":{"properties":{"country":{"type":"string","title":"","description":"The full, official name of the country recognized by the US Government.","example":"Australia"},"iso_code":{"type":"string","maxLength":2,"minLength":2,"title":"","description":"The 2-letter ISO 3166-1 alpha-2 country code.","example":"AU"},"name":{"type":"string","title":"","description":"The specific city, region, or installation name recognized by the DSSR.","example":"Adelaide"},"source":{"type":"string","enum":["DSSR","DTMO","GSA","dssr","dtmo","gsa"],"title":"","description":"The authoritative government source of this location and rate data.","example":"DSSR"}},"type":"object","required":["country","iso_code","name","source"],"title":"LocationRead"},"MieBreakdownRegion":{"type":"string","enum":["conus","oconus"],"title":"MieBreakdownRegion"},"MileageCalculationRequest":{"properties":{"distance":{"type":"number","multipleOf":0.001,"maximum":100000.0,"exclusiveMinimum":0.0,"title":"Distance","description":"One-way or total travel distance in miles, from 0.001 through 100,000.","example":125.5},"vehicle_type":{"$ref":"#/components/schemas/MileageCalculatorVehicleType","description":"Vehicle or travel category used to select the applicable GSA mileage rate.","example":"automobile"},"government_vehicle_available":{"type":"boolean","title":"Government Vehicle Available","description":"Optional for automobile calculations and defaults to false. Use true when a government-furnished automobile is authorized and available; false selects the standard privately owned automobile rate.","default":false,"example":false},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date","description":"Travel date used to select the effective rate. Accepts YYYY-MM-DD or YYYYMMDD; defaults to today. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","example":"2026-07-11"}},"additionalProperties":false,"type":"object","required":["distance","vehicle_type"],"title":"MileageCalculationRequest","examples":[{"date":"2026-07-11","distance":125.5,"government_vehicle_available":false,"vehicle_type":"automobile"}]},"MileageCalculationResponse":{"properties":{"distance":{"type":"string","title":"Distance","description":"Travel distance in miles used in the calculation.","example":"125.50"},"distance_unit":{"type":"string","title":"Distance Unit","description":"The distance unit in miles.","default":"miles"},"vehicle_type":{"$ref":"#/components/schemas/MileageCalculatorVehicleType","description":"Vehicle category supplied by the caller."},"government_vehicle_available":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Government Vehicle Available","description":"Automobile availability choice used to select the rate; omitted for other vehicles."},"mileage_type":{"$ref":"#/components/schemas/MileageType","description":"Stored GSA mileage-rate category selected by the calculator."},"travel_date":{"type":"string","format":"date","title":"Travel Date","description":"Travel date used for the effective-rate lookup.","example":"2026-07-11"},"rate_effective_date":{"type":"string","format":"date","title":"Rate Effective Date","description":"Effective date of the GSA rate used in the calculation.","example":"2026-01-01"},"rate_per_mile":{"type":"string","title":"Rate Per Mile","description":"Exact official GSA rate per mile; serialized as a decimal string.","example":"0.725"},"amount":{"type":"string","title":"Amount","description":"Calculated reimbursement rounded to cents; serialized with two decimals.","example":"90.99"}},"type":"object","required":["distance","vehicle_type","mileage_type","travel_date","rate_effective_date","rate_per_mile","amount"],"title":"MileageCalculationResponse","examples":[{"amount":"90.99","distance":"125.50","government_vehicle_available":false,"mileage_type":"automobile","rate_effective_date":"2026-01-01","rate_per_mile":"0.725","travel_date":"2026-07-11","vehicle_type":"automobile"}]},"MileageCalculatorVehicleType":{"type":"string","enum":["automobile","airplane","motorcycle","moving"],"title":"MileageCalculatorVehicleType"},"MileageType":{"type":"string","enum":["airplane","automobile","government_furnished_automobile","motorcycle","moving"],"title":"MileageType"},"MonthlyRateType":{"type":"string","enum":["fixed","see_fsr","unique_rate_use_rate_module","unique_rate"],"title":"MonthlyRateType"},"NestedLocationResponse":{"properties":{"name":{"type":"string","title":"","description":"The specific city, region, or installation name recognized by the DSSR.","example":"Adelaide"},"external_id":{"type":"string","title":"External Id","description":"The unique postcode id assigned by DSSR for the locations. Format is a 5 digits number passed as string. Some specials cases may have a different external_id.","example":"12450"},"source":{"type":"string","enum":["DSSR","DTMO","GSA","dssr","dtmo","gsa"],"title":"","description":"The authoritative government source of this location and rate data.","example":"DSSR"}},"type":"object","required":["name","external_id","source"],"title":"NestedLocationResponse"},"OPMLatestPublications":{"properties":{"pay_tables":{"$ref":"#/components/schemas/LatestPublication"}},"type":"object","required":["pay_tables"],"title":"OPMLatestPublications"},"OPMLocalitiesMatchResponse":{"properties":{"year":{"type":"integer","title":"Year","description":"Pay year of the results, the latest one loaded.","example":2026},"results":{"items":{"$ref":"#/components/schemas/OPMLocalityMatchRead"},"type":"array","title":"Results"}},"type":"object","required":["year","results"],"title":"OPMLocalitiesMatchResponse"},"OPMLocalitiesResponse":{"properties":{"year":{"type":"integer","title":"Year","description":"Pay year of the results, the latest one loaded.","example":2026},"results":{"items":{"$ref":"#/components/schemas/OPMLocalityRead"},"type":"array","title":"Results"}},"type":"object","required":["year","results"],"title":"OPMLocalitiesResponse"},"OPMLocalityMatchRead":{"properties":{"locality_code":{"type":"string","title":"Locality Code","description":"OPM locality pay area code. It can look like a state code: AL is Albany.","example":"CHI"},"locality_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locality Name","description":"Locality pay area name as published for this pay year; null for the base table GS.","example":"Chicago-Naperville, IL-IN-WI"},"locality_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Locality Pct","description":"Locality payment in percent; null for the base table GS.","example":30.86},"matched_places":{"items":{"type":"string"},"type":"array","title":"Matched Places","description":"Counties and cities named by `location` that fall under this area; empty when none did.","example":["Evanston, IL (city)"]}},"type":"object","required":["locality_code","locality_name","locality_pct","matched_places"],"title":"OPMLocalityMatchRead"},"OPMLocalityRead":{"properties":{"locality_code":{"type":"string","title":"Locality Code","description":"OPM locality pay area code. It can look like a state code: AL is Albany.","example":"CHI"},"locality_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locality Name","description":"Locality pay area name as published for this pay year; null for the base table GS.","example":"Chicago-Naperville, IL-IN-WI"},"locality_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Locality Pct","description":"Locality payment in percent; null for the base table GS.","example":30.86}},"type":"object","required":["locality_code","locality_name","locality_pct"],"title":"OPMLocalityRead"},"OPMPayRateRead":{"properties":{"grade":{"type":"integer","title":"Grade","description":"GS grade, 1 to 15.","example":9},"step":{"type":"integer","title":"Step","description":"Step within the grade, 1 to 10.","example":1},"annual":{"type":"integer","title":"Annual","description":"Annual rate in USD.","example":68999},"hourly":{"type":"number","title":"Hourly","description":"Hourly rate in USD.","example":33.06},"overtime":{"type":"number","title":"Overtime","description":"Overtime hourly rate in USD.","example":49.59},"capped":{"type":"boolean","title":"Capped","description":"True when the rate is limited by the statutory pay cap.","example":false}},"type":"object","required":["grade","step","annual","hourly","overtime","capped"],"title":"OPMPayRateRead"},"OPMPayResponse":{"properties":{"year":{"type":"integer","title":"Year","description":"Pay year of the results, the latest one loaded.","example":2026},"results":{"items":{"$ref":"#/components/schemas/OPMPayTableRead"},"type":"array","title":"Results"}},"type":"object","required":["year","results"],"title":"OPMPayResponse"},"OPMPayTableRead":{"properties":{"locality_code":{"type":"string","title":"Locality Code","description":"OPM locality pay area code. It can look like a state code: AL is Albany.","example":"CHI"},"locality_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locality Name","description":"Locality pay area name as published for this pay year; null for the base table GS.","example":"Chicago-Naperville, IL-IN-WI"},"locality_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Locality Pct","description":"Locality payment in percent; null for the base table GS.","example":30.86},"rates":{"items":{"$ref":"#/components/schemas/OPMPayRateRead"},"type":"array","title":"Rates"}},"type":"object","required":["locality_code","locality_name","locality_pct","rates"],"title":"OPMPayTableRead"},"PaginatedLocationResponse":{"properties":{"total":{"type":"integer","title":"Total","description":"Total number of locations matching the query, ignoring pagination."},"offset":{"type":"integer","title":"Offset","description":"The offset that was applied to this result set."},"limit":{"type":"integer","title":"Limit","description":"The maximum number of items returned in this result set."},"items":{"items":{"$ref":"#/components/schemas/LocationRead"},"type":"array","title":"Items"}},"type":"object","required":["total","offset","limit","items"],"title":"PaginatedLocationResponse"},"PerDiemDTMORead":{"properties":{"iso_code":{"type":"string","title":"Iso Code"},"state_country":{"type":"string","title":"State Country"},"location":{"type":"string","title":"Location"},"county":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"County","description":"US county of the location, to tell apart same-named cities in one state (e.g. the two Burbanks in California). CONUS locations only, null for OCONUS."},"season_begin":{"type":"string","pattern":"^\\d{2}/\\d{2}$","title":"Season Begin"},"season_end":{"type":"string","pattern":"^\\d{2}/\\d{2}$","title":"Season End"},"lodging":{"type":"integer","title":"Lodging"},"local_meal_rate":{"type":"integer","title":"Local Meal Rate"},"proportional_meal_rate":{"type":"integer","title":"Proportional Meal Rate"},"local_incidental":{"type":"integer","title":"Local Incidental"},"footnote_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Footnote Number"},"footnote_rate":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Footnote Rate"},"maximum_perdiem":{"type":"integer","title":"Maximum Perdiem"},"effective_date":{"type":"string","format":"date","title":"Effective Date"},"fiscal_year":{"type":"integer","title":"Fiscal Year","description":"A fiscal year starts Oct 1st, ends Sep 30th. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","openapi_examples":{"historic":{"value":2005},"recent":{"value":2026}}},"source":{"type":"string","enum":["DSSR","DTMO","GSA","dssr","dtmo","gsa"],"title":"","description":"The authoritative government source of this location and rate data.","default":"dtmo","example":"DSSR"},"publish_date":{"type":"string","format":"date","title":"Publish Date"}},"type":"object","required":["iso_code","state_country","location","season_begin","season_end","lodging","local_meal_rate","proportional_meal_rate","local_incidental","footnote_number","footnote_rate","maximum_perdiem","effective_date","fiscal_year","publish_date"],"title":"PerDiemDTMORead"},"PerDiemDTMOResponse":{"properties":{"effective_date":{"type":"string","format":"date","title":"Effective Date"},"verification_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Url"},"results":{"items":{"$ref":"#/components/schemas/PerDiemDTMORead"},"type":"array","title":"Results"}},"type":"object","required":["effective_date","results"],"title":"PerDiemDTMOResponse"},"PerDiemGSARead":{"properties":{"state":{"type":"string","title":"State"},"iso_code":{"type":"string","title":"Iso Code"},"destination_id":{"type":"integer","title":"Destination Id"},"destination":{"type":"string","title":"Destination"},"county":{"type":"string","title":"County"},"season_begin":{"type":"string","pattern":"^\\d{2}/\\d{2}$","title":"Season Begin"},"season_end":{"type":"string","pattern":"^\\d{2}/\\d{2}$","title":"Season End"},"lodging":{"type":"integer","title":"Lodging"},"meals_incidental":{"type":"integer","title":"Meals Incidental"},"effective_date":{"type":"string","format":"date","title":"Effective Date"}},"type":"object","required":["state","iso_code","destination_id","destination","county","season_begin","season_end","lodging","meals_incidental","effective_date"],"title":"PerDiemGSARead"},"ZipCodeResponse":{"properties":{"zipcode":{"type":"string","title":"Zipcode","description":"The normalized five-digit US ZIP code.","example":"10506"},"states":{"items":{"type":"string"},"type":"array","title":"States","description":"All states associated with the ZIP code, ordered alphabetically.","example":["Connecticut","New York"]}},"type":"object","required":["zipcode","states"],"title":"ZipCodeResponse"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"},"OAuthBearer":{"type":"http","description":"Access token from the MCP sign-in flow (OAuth 2.1); only for MCP tool calls.","scheme":"bearer"}}},"x-mcp":{"protocolVersion":"2025-11-25","instructions":"U.S. government travel per diem and overseas allowances from the official GSA, DTMO and State Department (DSSR) tables, in USD per day.\n\nChoosing a source. GSA tools: per diem inside the continental U.S. for civilian federal travel, by state and city or ZIP. DTMO tools: Department of Defense rates; OCONUS covers foreign countries plus Alaska, Hawaii and U.S. territories, CONUS covers the states. Use DTMO for military, DoD and defense-contractor travel. DSSR tools: State Department rates for civilian U.S. government employees abroad: per diem, COLA, hardship, danger pay, LQA, TQSA, education. If the traveller's agency is unknown, use GSA for CONUS and DSSR abroad, and say which source you used. FedRooms lists worldwide participating hotels, without prices. FEMA tools answer a different question: whether a lodging property is on FEMA's Hotel and Motel National Master List (Fire Safety Act compliance), by FEMA ID, ZIP, state and city, or a free-text search; they return no rates.\n\nFinding a location. search_perdiem (DSSR) and search_dtmo_perdiem (DTMO) take a city or country name of at least three characters. Other tools need an ISO alpha-2 country code or a US-XX state code; get_countries and the locations tools resolve names.\n\nDates. Omit date for today's rates. A date returns the rates in force on that day; DTMO also accepts a fiscal year (Oct 1 to Sep 30). Each result row carries its own effective_date and season; the top-level effective_date is the publication period. Historical dates depend on the plan; a 403 states the restriction. Plan and quota errors are final: relay them, do not retry.\n\nmaximum_perdiem is lodging plus meals and incidentals. Rate results include verification_url, a link to the official government table for that location and date; give it to the user to confirm the figures (verification_url=false omits it).\n\nTool calls need an account sign-in or an X-API-Key header; free Sandbox keys: https://www.allowancesapi.com/register","servers":[{"url":"https://mcp.allowancesapi.com/mcp"}],"capabilities":{"tools":{}},"tools":[{"name":"get_allowances","title":"DSSR allowances by country","description":"Returns State Department (DSSR) allowance rates for every post in a country: cost-of-living (COLA),\nhardship differential, living quarters (LQA), danger pay and education allowances, plus each post's per\ndiem, in force today or on `date`. `type` selects which allowances. For one post use\nget_allowances_by_location or get_allowances_by_postcode; for DoD rates use the DTMO tools.\nPosts the State Department removed return no allowances after their last listing. History starts on 2008-01-01.","inputSchema":{"type":"object","properties":{"country_iso_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"type":{"type":"array","items":{"type":"string"},"title":"Allowance type","description":"Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.","enum":["cola","hardship","lqa","danger_pay","education"]},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true}},"required":["country_iso_code"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DSSR allowances by country"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_allowances_by_location","title":"DSSR allowances by location name","description":"Returns DSSR allowances (COLA, hardship, LQA, danger pay, education, per diem) for one post in a country\nmatched by name, case-insensitive and partial ('toky' finds Tokyo), today or on `date`. Find exact post\nnames with get_dssr_locations_by_country or search_perdiem. Use get_allowances_by_postcode when the DSSR\npost code is known, get_allowances for every post in the country.\nPosts the State Department removed return no allowances after their last listing. History starts on 2008-01-01.","inputSchema":{"type":"object","properties":{"location":{"type":"string","description":"Location name, case insensitive","openapi_examples":{"adelaide":{"summary":"Adelaide, Australia","value":"Adelaide"},"tokyo":{"summary":"Tokyo, Japan (lowercase)","value":"tokyo"},"partial":{"summary":"Tokyo, Japan (partial)","value":"toky"}},"title":"Location"},"country_iso_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"type":{"type":"array","items":{"type":"string"},"title":"Allowance type","description":"Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.","enum":["cola","hardship","lqa","danger_pay","education"]},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true}},"required":["location","country_iso_code"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DSSR allowances by location name"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_allowances_by_postcode","title":"DSSR allowances by location post code","description":"Returns DSSR allowances (COLA, hardship, LQA, danger pay, education, per diem) for the post identified by\nits five-digit DSSR post code, today or on `date`. Post codes are the State Department's own identifiers\nand come back in every DSSR result, so this is the most precise lookup. Use get_allowances_by_location\nfor a name, get_allowances for the whole country.\nPosts the State Department removed return no allowances after their last listing. History starts on 2008-01-01.","inputSchema":{"type":"object","properties":{"postcode":{"type":"integer","maximum":99999,"minimum":10000,"title":"DSSR post code","description":"5-digit DSSR post code (no zero-padding)"},"country_iso_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"type":{"type":"array","items":{"type":"string"},"title":"Allowance type","description":"Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.","enum":["cola","hardship","lqa","danger_pay","education"]},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true}},"required":["postcode","country_iso_code"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DSSR allowances by location post code"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"search_perdiem","title":"Search DSSR per diem by name","description":"Finds DSSR per diem by a partial, case-insensitive country or post name of at least three characters,\nwith no country code needed. Returns lodging, M&IE and maximum per diem per matching post, today or on\n`date`, with the post code for precise follow-up lookups. A name that matches nothing is a 404 error, not\nan empty list. Once the ISO code is known, the country tools are more precise.","inputSchema":{"type":"object","properties":{"q":{"type":"string","minLength":3,"description":"Required case-insensitive substring of a location or country name; at least three characters after trimming.","title":"Q"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"}},"required":["q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"Search DSSR per diem by name"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_perdiem_allowance","title":"DSSR per diem by country","description":"Returns State Department (DSSR) per diem for every post in a country: lodging, M&IE and maximum per diem\nin USD per day, today or on `date`. For one post use get_perdiem_allowance_by_location or\nget_perdiem_allowance_by_postcode; for a place name without a country code use search_perdiem. For\nDepartment of Defense travel use get_dtmo_perdiem_oconus.","inputSchema":{"type":"object","properties":{"country_iso_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true}},"required":["country_iso_code"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DSSR per diem by country"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_perdiem_allowance_by_location","title":"DSSR per diem by location name","description":"Returns DSSR per diem (lodging, M&IE and maximum per diem in USD per day) for one post in a country\nmatched by name, case-insensitive and partial, today or on `date`. Find exact post names with\nget_dssr_locations_by_country or search_perdiem. Use get_perdiem_allowance for the whole country,\nget_perdiem_allowance_by_postcode for a known post code.","inputSchema":{"type":"object","properties":{"location":{"type":"string","description":"Location name, case insensitive","openapi_examples":{"adelaide":{"summary":"Adelaide, Australia","value":"Adelaide"},"tokyo":{"summary":"Tokyo, Japan (lowercase)","value":"tokyo"},"partial":{"summary":"Tokyo, Japan (partial)","value":"toky"}},"title":"Location"},"country_iso_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true}},"required":["location","country_iso_code"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DSSR per diem by location name"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_perdiem_allowance_by_postcode","title":"DSSR per diem by location post code","description":"Returns DSSR per diem (lodging, M&IE and maximum per diem in USD per day) for the post identified by its\nfive-digit DSSR post code, today or on `date`. Every DSSR result carries the post code, so use it for\nfollow-up lookups. Use get_perdiem_allowance_by_location for a name, get_perdiem_allowance for the whole\ncountry.","inputSchema":{"type":"object","properties":{"postcode":{"type":"integer","maximum":99999,"minimum":10000,"title":"DSSR post code","description":"5-digit DSSR post code (no zero-padding)"},"country_iso_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true}},"required":["postcode","country_iso_code"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DSSR per diem by location post code"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_dssr_locations","title":"List DSSR posts","description":"Returns a paginated list of every DSSR post with its country, ISO code and post name; `q` filters by\ncase-insensitive substring. `total` counts every match regardless of `offset` and `limit`. Use it to find\nthe exact post name for the by-location tools when the country is unknown; get_dssr_locations_by_country\nis shorter when it is known. Returns no rates.","inputSchema":{"type":"object","properties":{"q":{"anyOf":[{"type":"string","minLength":2},{"type":"null"}],"description":"Search by name","title":"Q"},"offset":{"type":"integer","default":0,"title":"Offset"},"limit":{"type":"integer","maximum":20,"default":10,"title":"Limit"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"List DSSR posts"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_countries","title":"Find country code and posts","description":"Resolves a country name to its ISO alpha-2 code and lists the names of its DSSR posts; `q` matches the\ncountry name case-insensitively ('papua' finds PG). Use it before any tool that needs a country code. ZZ\nstands for Other Foreign Localities, not a country. Returns no rates.","inputSchema":{"type":"object","properties":{"q":{"anyOf":[{"type":"string","minLength":2},{"type":"null"}],"description":"Search by country name","title":"Q"},"offset":{"type":"integer","default":0,"title":"Offset"},"limit":{"type":"integer","maximum":300,"default":20,"title":"Limit"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"Find country code and posts"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_country","title":"Country by ISO code","description":"Returns one country by ISO alpha-2 code: its name, the names of its DSSR posts and State Department\nnotes. Use get_countries to find the code from a name, and get_dssr_locations_by_country when the post\ncodes are needed too. Returns no rates.","inputSchema":{"type":"object","properties":{"country_iso_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"}},"required":["country_iso_code"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"Country by ISO code"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_dssr_locations_by_country","title":"DSSR posts in a country","description":"Returns the DSSR posts of a country by ISO alpha-2 code, each with its name and five-digit post code\n(`external_id`), as needed by the by-location and by-postcode tools. Use get_countries to resolve a name\nto the code. Returns no rates.","inputSchema":{"type":"object","properties":{"country_iso_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"}},"required":["country_iso_code"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DSSR posts in a country"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"cola_calculator_by_postcode","title":"DSSR COLA calculator","description":"Calculates the DSSR cost-of-living allowance (COLA) for a post: the COLA rate in percent and the annual and biweekly USD amounts for the given base salary and family size, today or on `date`. The post is identified by its five-digit DSSR post code (see get_dssr_locations_by_country). Use get_allowances for the COLA rate alone. History starts on 2008-01-01.","inputSchema":{"type":"object","properties":{"postcode":{"type":"integer","maximum":99999,"minimum":10000,"title":"DSSR post code","description":"5-digit DSSR post code (no zero-padding)"},"family_size":{"type":"integer","minimum":1,"description":"The number of family members, including the FS/DoS employee/contractor","title":"Family Size"},"base_salary":{"type":"integer","minimum":1000,"description":"Basic annual salary, excluding U.S. locality pay; including Overseas Comparability Pay.","title":"Base Salary"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD, from 2008-01-01 on; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"}},"required":["postcode","family_size","base_salary"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DSSR COLA calculator"},"tags":["MCP - DSSR - OCONUS locations"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_gsa_perdiem_by_destination","title":"GSA per diem rate by destination","description":"Returns the GSA per diem of one GSA destination rate area (a city, county, metro area or the Standard CONUS area, ID 0) in effect today or on `date`: the seasonal lodging rate and daily M&IE in USD. Destination IDs come from get_destinations or any GSA per diem result. When the ID is unknown use get_gsa_perdiem_by_zipcode or get_gsa_perdiem_by_state.","inputSchema":{"type":"object","properties":{"destination_id":{"type":"integer","description":"GSA's numeric identifier for a rate area. Retrieve valid IDs from `GET /v1/gsa/destinations`; ID 0 is the Standard CONUS rate.","title":"Destination Id"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"verification_url":{"type":"boolean","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true,"title":"Verification Url"}},"required":["destination_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"GSA per diem rate by destination"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_gsa_perdiem_by_state","title":"GSA per diem rates by state and date","description":"Returns every GSA destination rate in a US state (US-XX) in effect today or on `date`: seasonal lodging and daily M&IE in USD per destination, with its county. `location` filters by destination or defined-area name, case-insensitive and partial. A state with no non-standard destination returns the Standard CONUS rate. CONUS only: for Alaska, Hawaii, territories and abroad use the DTMO or DSSR tools.","inputSchema":{"type":"object","properties":{"state_iso":{"type":"string","description":"Two-letter US postal abbreviation for the state or District of Columbia.","title":"State Iso"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional case-insensitive partial match against the GSA destination name or location-defined name.","title":"Location"},"verification_url":{"type":"boolean","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true,"title":"Verification Url"}},"required":["state_iso"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"GSA per diem rates by state and date"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_gsa_perdiem_by_state_year","title":"GSA per diem rates by state and fiscal year","description":"Return every GSA destination rate in a US state (US-XX) for a US fiscal year (October 1 to September 30): the lodging rate for every month and the daily M&IE rate per destination. The optional `location` filters destinations by GSA destination or defined-area name, case-insensitive and partial. Set `verification_url=true` to include the official GSA state lookup URL. Use get_gsa_perdiem_by_state for the rate on one date.","inputSchema":{"type":"object","properties":{"state_iso":{"type":"string","description":"Two-letter US postal abbreviation for the state or District of Columbia.","title":"State Iso"},"year":{"type":"integer","description":"Four-digit US fiscal year. Fiscal year 2026 runs from 2025-10-01 through 2026-09-30. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Year"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional case-insensitive partial match against the GSA destination name or location-defined name.","title":"Location"},"verification_url":{"type":"boolean","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true,"title":"Verification Url"}},"required":["state_iso","year"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"GSA per diem rates by state and fiscal year"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_gsa_perdiem_by_zipcode","title":"GSA per diem rates by ZIP code and date","description":"Returns the GSA per diem for a US ZIP code (five digits or ZIP+4) in effect today or on `date`: seasonal lodging and daily M&IE in USD. A ZIP can map to several destinations; then every rate is returned with its county and none is chosen for you. A ZIP with no non-standard destination returns the Standard CONUS rate. Use get_gsa_perdiem_by_zipcode_year for a whole fiscal year.","inputSchema":{"type":"object","properties":{"zipcode":{"type":"string","description":"Five-digit US ZIP code, or ZIP+4. ZIP+4 values are normalized to the first five digits.","title":"Zipcode"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"verification_url":{"type":"boolean","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true,"title":"Verification Url"}},"required":["zipcode"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"GSA per diem rates by ZIP code and date"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_gsa_perdiem_by_zipcode_year","title":"GSA per diem rates by ZIP code and fiscal year","description":"Returns the GSA lodging rate for every month of a US fiscal year (October 1 to September 30) and the daily M&IE, in USD, for a US ZIP code (five digits or ZIP+4). A ZIP can map to several destinations; then every rate is returned with its county and none is chosen for you. A ZIP with no non-standard destination returns the Standard CONUS rate. Use get_gsa_perdiem_by_zipcode for the rate on one date.","inputSchema":{"type":"object","properties":{"zipcode":{"type":"string","description":"Five-digit US ZIP code, or ZIP+4. ZIP+4 values are normalized to the first five digits.","title":"Zipcode"},"year":{"type":"integer","description":"Four-digit US fiscal year. Fiscal year 2026 runs from 2025-10-01 through 2026-09-30. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Year"},"verification_url":{"type":"boolean","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true,"title":"Verification Url"}},"required":["zipcode","year"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"GSA per diem rates by ZIP code and fiscal year"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_zipcode","title":"ZIP code metadata","description":"Returns the state or states a US ZIP code (five digits or ZIP+4) belongs to; a ZIP that crosses a state line returns every state. Metadata only, no rates: use get_gsa_perdiem_by_zipcode for per diem. Send ZIPs as strings so leading zeros survive.","inputSchema":{"type":"object","properties":{"zipcode":{"type":"string","description":"US ZIP (12345) or ZIP+4 (12345-6789)","openapi_examples":{"normal":{"summary":"Five digits postcode","value":"12084"},"zip_plus_four":{"summary":"Zip+4 format","value":"12084-1234"}},"title":"Zipcode"}},"required":["zipcode"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"ZIP code metadata"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_destination_by_id","title":"Get GSA destination metadata by ID","description":"Returns the metadata of one GSA destination rate area by numeric ID: GSA's display name, the defined geographic scope, county and state. ID 0 is the Standard CONUS area. No rates: use get_gsa_perdiem_by_destination for the rate on a date and get_destinations to browse IDs.","inputSchema":{"type":"object","properties":{"destination_id":{"type":"integer","description":"GSA's numeric identifier for a destination rate area. Retrieve valid IDs from `GET /v1/gsa/destinations`; ID 0 is Standard CONUS.","title":"Destination Id"}},"required":["destination_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"Get GSA destination metadata by ID"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_destinations","title":"List GSA destinations","description":"Returns the paginated list of every GSA destination rate area with its numeric ID, display name, defined scope, county and state, ordered by ID (`offset`, `limit`; past the end is an empty list). Use the ID with get_gsa_perdiem_by_destination or calculate_trip_per_diem. No rates; a ZIP or state lookup is usually faster than browsing.","inputSchema":{"type":"object","properties":{"offset":{"type":"integer","description":"Number of destination records to skip before returning results.","default":0,"title":"Offset"},"limit":{"type":"integer","maximum":200,"description":"Maximum number of destinations to return. The maximum is 200.","default":100,"title":"Limit"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"List GSA destinations"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_city_pair_locations","title":"City Pair airport and city codes","description":"Returns the airport or metropolitan codes GSA uses in City Pair airfare awards for the fiscal year of `date` (today by default), with city, state and country. GSA decides whether a city uses airport codes (DCA, IAD) or a metro code (WAS), so resolve codes here before get_city_pairs. `q` (3+ characters) matches a code exactly or a city or country name by substring. Fiscal years other than the current one depend on the plan.","inputSchema":{"type":"object","properties":{"q":{"anyOf":[{"type":"string"},{"type":"null"}],"minLength":3,"description":"Match a code exactly or a city/country name by substring; case-insensitive. Omit to list every code of the fiscal year.","examples":["washington","LON"],"title":"Q"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"City Pair airport and city codes"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_city_pairs","title":"City Pair contract airfares","description":"Returns GSA City Pair Program contract airfares between two codes (see get_city_pair_locations) on `date`, today by default: every matching award with airline, service and one-way USD fares by category (YCA, CA, business and others; null means not offered), valid in either direction. Government contract prices, not live availability; domestic fares exclude passenger and security fees. Other fiscal years depend on the plan; there is no fallback to another date.","inputSchema":{"type":"object","properties":{"origin":{"type":"string","description":"Three-letter airport or international city code; case-insensitive. No city-name expansion.","examples":["ABE","LON"],"title":"Origin"},"destination":{"type":"string","description":"Three-letter airport or international city code; case-insensitive. No city-name expansion.","examples":["ABE","LON"],"title":"Destination"},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"}},"required":["origin","destination"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"City Pair contract airfares"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_mileage","title":"POV mileage rates","description":"Returns the GSA privately owned vehicle (POV) mileage reimbursement rates in USD per mile for airplane, automobile, government-furnished automobile, motorcycle and moving, in effect today or on `date`; `type` selects one. Use calculate_mileage_reimbursement to turn a distance into an amount.","inputSchema":{"type":"object","properties":{"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"type":{"anyOf":[{"type":"string","enum":["airplane","automobile","government_furnished_automobile","motorcycle","moving"],"title":"MileageType"},{"type":"null"}],"description":"Filter by mileage type","title":"Type"},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"POV mileage rates"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_mie_breakdowns","title":"M&IE meal breakdowns","description":"Return how daily M&IE totals break down into breakfast, lunch, dinner and incidental expenses, as in effect on the given date. The CONUS table breaks down the five standard CONUS M&IE tiers and is returned by default. Set region=oconus for the generic DTMO/DSSR M&IE total table. If date is not specified, today's breakdowns will be returned.","inputSchema":{"type":"object","properties":{"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"region":{"type":"string","enum":["conus","oconus"],"title":"MieBreakdownRegion","description":"Breakdown table to return; defaults to CONUS","default":"conus"},"total":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"Filter by daily M&IE total in USD","title":"Total"},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"M&IE meal breakdowns"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_fleet_rates_by_sin","title":"GSA Fleet leasing rates","description":"Returns the GSA Fleet vehicle leasing rates (monthly lease rate and rate per mile) for the vehicle type identified by its Standard Item Number (SIN), from the standard (US) or europe rate schedule, for the current fiscal year unless `year` is given; rates are available from fiscal year 2022. SINs are the vehicle-type codes of the GSA Fleet rate schedule; the response names the vehicle type.","inputSchema":{"type":"object","properties":{"rate_type":{"type":"string","enum":["standard","europe"],"title":"Fleet rate schedule","description":"The GSA Fleet rate schedule: 'standard' covers vehicles leased in the United States, 'europe' covers vehicles leased in Europe."},"sin":{"type":"string","title":"GSA Fleet SIN","description":"Standard Item Number (SIN) identifying a GSA Fleet leased vehicle type, case insensitive."},"year":{"type":"integer","description":"A fiscal year starts Oct 1st, ends Sep 30th. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","openapi_examples":{"recent":{"value":2026},"historic":{"value":2005}},"title":"Year"},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true}},"required":["rate_type","sin"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"GSA Fleet leasing rates"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_gsa_fedrooms","title":"List worldwide FedRooms properties","description":"Lists current worldwide FedRooms hotels with name, address, postal city, state, postal code and country. Optional q matches every word as a case-insensitive literal substring across those fields. country filters by ISO alpha-2 code; results include country_iso_code. Paginate with offset and limit (maximum 200); total counts matches. as_of is the UTC download date. verification_url always links to GSA. No prices or availability; book through approved channels for the FedRooms rate.","inputSchema":{"type":"object","properties":{"country":{"anyOf":[{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"]},{"type":"null"}],"description":"Filter by ISO 3166-1 alpha-2 country code, e.g. US or GB.","title":"Country"},"q":{"anyOf":[{"type":"string","minLength":2,"maxLength":200,"pattern":"\\S"},{"type":"null"}],"description":"Search all six property fields; every word must match a case-insensitive literal substring.","examples":["courtyard dallas"],"title":"Q"},"offset":{"type":"integer","minimum":0,"description":"Number of properties to skip.","default":0,"title":"Offset"},"limit":{"type":"integer","maximum":200,"minimum":1,"description":"Properties per page, at most 200.","default":50,"title":"Limit"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"List worldwide FedRooms properties"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"calculate_mileage_reimbursement","title":"Mileage reimbursement calculator","description":"Calculate mileage reimbursement with the official GSA rate in effect on the travel date (today if omitted). Provide a distance in miles and the vehicle type: automobile, airplane, motorcycle or moving. For automobile travel, say whether a government-furnished automobile was available, which selects the reduced rate. Returns the rate category, rate and effective date, and the amount rounded to the cent. Use get_mileage for the rates alone.","inputSchema":{"type":"object","properties":{"distance":{"type":"number","multipleOf":0.001,"maximum":100000.0,"exclusiveMinimum":0.0,"title":"Distance","description":"One-way or total travel distance in miles, from 0.001 through 100,000.","example":125.5},"vehicle_type":{"type":"string","enum":["automobile","airplane","motorcycle","moving"],"title":"MileageCalculatorVehicleType","description":"Vehicle or travel category used to select the applicable GSA mileage rate.","example":"automobile"},"government_vehicle_available":{"type":"boolean","title":"Government Vehicle Available","description":"Optional for automobile calculations and defaults to false. Use true when a government-furnished automobile is authorized and available; false selects the standard privately owned automobile rate.","default":false,"example":false},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date","description":"Travel date used to select the effective rate. Accepts YYYY-MM-DD or YYYYMMDD; defaults to today. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","example":"2026-07-11"}},"required":["distance","vehicle_type"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"Mileage reimbursement calculator"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"calculate_trip_per_diem","title":"GSA trip per diem calculator","description":"Estimates GSA CONUS per diem for a multi-stop trip: a day-by-day breakdown and totals of payable lodging and M&IE. Each stop has inclusive arrival and departure dates and a GSA destination ID or ZIP code, optionally the actual nightly lodging cost and meals to deduct. Applies the rate in effect each day, 75% M&IE on first and last days, the official meal deductions and the lodging cap (excess reported as overage). Not for Department of Defense or foreign travel.","inputSchema":{"type":"object","properties":{"stops":{"items":{"properties":{"location":{"properties":{"zipcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zipcode","description":"Five-digit US ZIP or ZIP+4. ZIP+4 is normalized to five digits.","examples":["20001","20001-1234"]},"destination_id":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Destination Id","description":"GSA destination identifier. Destination 0 is Standard CONUS.","examples":[123]}},"additionalProperties":false,"type":"object","title":"GSATripLocationRequest","description":"TDY locality for the stop; not merely the hotel location."},"arrival_date":{"type":"string","format":"date","title":"Arrival Date","description":"First calendar date owned by this stop."},"departure_date":{"type":"string","format":"date","title":"Departure Date","description":"Shared boundary/return date; the arriving next stop owns a transition date."},"lodging_cost_per_night":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"string"},{"type":"null"}],"title":"Lodging Cost Per Night","description":"Optional actual room cost applied to every lodging night in this stop. Must be a JSON number with no more than two decimal places.","examples":[250.0]}},"additionalProperties":false,"type":"object","required":["location","arrival_date","departure_date"],"title":"GSATripStopRequest"},"type":"array","maxItems":50,"minItems":1,"title":"Stops","description":"Ordered, contiguous TDY-locality stops for the trip."},"deductible_meals":{"items":{"properties":{"date":{"type":"string","format":"date","title":"Date","description":"Inclusive trip date on which meals are deducted."},"meals":{"items":{"type":"string","enum":["breakfast","lunch","dinner"],"title":"GSATripMeal"},"type":"array","minItems":1,"title":"Meals","description":"Non-empty unique breakfast/lunch/dinner deductions for the date."}},"additionalProperties":false,"type":"object","required":["date","meals"],"title":"GSATripDeductibleMealsRequest"},"type":"array","title":"Deductible Meals","description":"Sparse caller-determined meal deductions, keyed by trip date."},"verification_url":{"type":"boolean","title":"Verification Url","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true}},"required":["stops"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"GSA trip per diem calculator"},"tags":["MCP - GSA - per diem, mileage, fleet and airfare"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_dtmo_perdiem_conus","title":"DTMO CONUS per diem by state","description":"Department of Defense per diem for the continental U.S. by state code (e.g. 'TX'); Alaska, Hawaii\nand the territories are served by the OCONUS endpoint. Returns lodging, local and proportional meal\nrates, incidentals and the maximum per diem (lodging + meals + incidentals) per season. `q` filters by\nlocation name. `date` selects the rates in force on that day, `year` a fiscal year (Oct 1 to Sep 30);\nomit both for the current fiscal year.","inputSchema":{"type":"object","properties":{"state_iso":{"type":"string","description":"US state code: US- followed by the postal abbreviation, e.g. US-CA for California.","examples":["US-AL","US-CA"],"title":"State Iso"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"year":{"type":"integer","description":"A fiscal year starts Oct 1st, ends Sep 30th. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","openapi_examples":{"recent":{"value":2026},"historic":{"value":2005}},"title":"Year"},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true},"q":{"anyOf":[{"type":"string"},{"type":"null"}],"minLength":3,"description":"Search by location name or state/country name","title":"Q"},"offset":{"type":"integer","default":0,"title":"Offset"},"limit":{"type":"integer","default":50,"title":"Limit"}},"required":["state_iso"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DTMO CONUS per diem by state"},"tags":["MCP - DTMO - Mil. CONUS/OCONUS"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_dtmo_perdiem_oconus","title":"DTMO OCONUS per diem by country","description":"Department of Defense per diem outside the continental U.S.: foreign countries by ISO alpha-2 code\n(e.g. 'PG'), and Alaska, Hawaii and U.S. territories by 'US-XX' code. Returns lodging, local and\nproportional meal rates, incidentals and the maximum per diem (lodging + meals + incidentals) per\nseason. `q` filters by location name. `date` selects the rates in force on that day, `year` a fiscal\nyear (Oct 1 to Sep 30); omit both for the current fiscal year.","inputSchema":{"type":"object","properties":{"oconus_iso_code":{"type":"string","description":"Foreign country ISO 3166-1 alpha-2 code (e.g. BE), or one of the OCONUS state codes US-AK, US-HI, US-PR, US-GU, US-VI, US-AS, US-MP, US-UM. Resolve a country name to its code with get_countries (q=name).","examples":["US-AK","BE"],"title":"Oconus Iso Code"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"year":{"type":"integer","description":"A fiscal year starts Oct 1st, ends Sep 30th. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","openapi_examples":{"recent":{"value":2026},"historic":{"value":2005}},"title":"Year"},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true},"q":{"anyOf":[{"type":"string"},{"type":"null"}],"minLength":3,"description":"Search by location name or state/country name","title":"Q"},"offset":{"type":"integer","default":0,"title":"Offset"},"limit":{"type":"integer","default":50,"title":"Limit"}},"required":["oconus_iso_code"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DTMO OCONUS per diem by country"},"tags":["MCP - DTMO - Mil. CONUS/OCONUS"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"search_dtmo_perdiem","title":"Search DTMO per diem by name","description":"Finds Department of Defense per diem by location name ('Kabul') or country or state name ('Afghanistan'),\nacross CONUS and OCONUS, with no code needed. Returns lodging, local and proportional meal rates,\nincidentals and maximum per diem per matching location and season. `date` selects the rates in force on\nthat day, `year` a fiscal year (Oct 1 to Sep 30); omit both for the current fiscal year.","inputSchema":{"type":"object","properties":{"q":{"anyOf":[{"type":"string"},{"type":"null"}],"minLength":3,"description":"Search by location name or state/country name","title":"Q"},"date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"The day the rates must be in force, YYYY-MM-DD; today when omitted. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","title":"Date"},"year":{"type":"integer","description":"A fiscal year starts Oct 1st, ends Sep 30th. Plan limits: Sandbox and Google add-on accounts may query dates within 30 days of today, Pro the current and previous US fiscal year, Business any date.","openapi_examples":{"recent":{"value":2026},"historic":{"value":2005}},"title":"Year"},"verification_url":{"type":"boolean","title":"Verification URL","description":"Included by default: a link to the official government table for the returned location and date, for the user to confirm the figures. Pass false to omit it.","default":true}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"Search DTMO per diem by name"},"tags":["MCP - DTMO - Mil. CONUS/OCONUS"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_dtmo_conus_locations","title":"DTMO CONUS locations by state","description":"Returns the DTMO per diem locations of a US state (US-XX code) with location name and county, as named in\nthe Department of Defense CONUS table. Use it to find the name for the `q` filter of\nget_dtmo_perdiem_conus. Returns no rates. For other countries, Alaska, Hawaii and territories use\nget_dtmo_oconus_locations.","inputSchema":{"type":"object","properties":{"state_iso":{"type":"string","description":"US state code: US- followed by the postal abbreviation, e.g. US-CA for California.","examples":["US-AL","US-CA"],"title":"State Iso"}},"required":["state_iso"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DTMO CONUS locations by state"},"tags":["MCP - DTMO - Mil. CONUS/OCONUS"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_dtmo_oconus_locations","title":"DTMO OCONUS locations by country","description":"Returns the DTMO per diem locations of a country by ISO alpha-2 code ('AU', 'BE'), as named in the\nDepartment of Defense OCONUS table. `location` filters by case-insensitive substring, taken literally (no\nwildcards); no match returns an empty list. Use the names for the `q` filter of get_dtmo_perdiem_oconus.\nReturns no rates.","inputSchema":{"type":"object","properties":{"country_iso_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).","examples":["BE","JP","KE"],"title":"Country Iso Code"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by location name","title":"Location"}},"required":["country_iso_code"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"DTMO OCONUS locations by country"},"tags":["MCP - DTMO - Mil. CONUS/OCONUS"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"search_fema_hotels","title":"Search FEMA-listed properties by name and town","description":"Searches FEMA's Hotel and Motel National Master List (fire-safe lodging, required for reimbursed federal travel) by property name and city: every word of `q` must appear as a plain substring of the name or city, with no fuzzy matching. `state` narrows to one state; paginated with `offset`, `limit` (up to 200) and `total`. Returns FEMA ID, address, phone and property details, no rates: pair with GSA per diem for the lodging cap.","inputSchema":{"type":"object","properties":{"q":{"type":"string","minLength":3,"description":"Words to find in the property name or city, all required, case-insensitive.","examples":["mint house alexandria"],"title":"Q"},"state":{"anyOf":[{"type":"string","description":"2-digits US State ISO Code, format XX","examples":["AL","CA"]},{"type":"null"}],"description":"Restrict the search to one state or territory.","title":"State"},"offset":{"type":"integer","minimum":0,"description":"Number of properties to skip.","default":0,"title":"Offset"},"limit":{"type":"integer","maximum":200,"minimum":1,"description":"Properties per page, 200 at most.","default":50,"title":"Limit"}},"required":["q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"Search FEMA-listed properties by name and town"},"tags":["MCP - FEMA - Fire-safe lodging"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_fema_hotel_by_id","title":"FEMA-listed property by FEMA ID","description":"Returns one property on FEMA's Hotel and Motel National Master List by FEMA ID, or a 404 error when the ID is not listed: name, address, phone, property type, stories and sprinklers, with `as_of` the date of the list snapshot. Use it to confirm a hotel is fire-safe for reimbursed federal lodging. No rates.","inputSchema":{"type":"object","properties":{"fema_id":{"type":"string","description":"FEMA ID of the property as printed on the Hotel and Motel National Master List, two letters followed by digits. Case-insensitive.","examples":["VA6026"],"title":"Fema Id"}},"required":["fema_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"FEMA-listed property by FEMA ID"},"tags":["MCP - FEMA - Fire-safe lodging"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_fema_hotels_by_zipcode","title":"FEMA-listed properties by ZIP code","description":"Returns every property on FEMA's Hotel and Motel National Master List in a US ZIP code (five digits or ZIP+4), ordered by name, with FEMA ID, address and property details. A known ZIP with no listed property returns an empty list, an unknown ZIP a 404 error. Fire-safe lodging is required for reimbursed federal travel; no rates, pair with get_gsa_perdiem_by_zipcode.","inputSchema":{"type":"object","properties":{"zipcode":{"type":"string","description":"US ZIP (12345) or ZIP+4 (12345-6789)","openapi_examples":{"normal":{"summary":"Five digits postcode","value":"12084"},"zip_plus_four":{"summary":"Zip+4 format","value":"12084-1234"}},"title":"Zipcode"}},"required":["zipcode"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"FEMA-listed properties by ZIP code"},"tags":["MCP - FEMA - Fire-safe lodging"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_fema_hotels_by_state_city","title":"FEMA-listed hotels by state and city","description":"Returns the properties on FEMA's Hotel and Motel National Master List in a US state, optionally narrowed by a partial, case-insensitive `city` ('york' matches New York and Yorktown), ordered by city then name and paginated with `offset`, `limit` (up to 200) and `total`. Covers the 50 states, DC and the territories FEMA lists. Returns FEMA ID, address and property details, no rates.","inputSchema":{"type":"object","properties":{"state_iso":{"type":"string","description":"2-digits US State ISO Code, format XX","examples":["AL","CA"],"title":"State Iso"},"city":{"anyOf":[{"type":"string","minLength":2},{"type":"null"}],"description":"Case-insensitive partial match on the city name.","examples":["Alexandria"],"title":"City"},"offset":{"type":"integer","minimum":0,"description":"Number of properties to skip.","default":0,"title":"Offset"},"limit":{"type":"integer","maximum":200,"minimum":1,"description":"Properties per page, 200 at most.","default":50,"title":"Limit"}},"required":["state_iso"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"FEMA-listed hotels by state and city"},"tags":["MCP - FEMA - Fire-safe lodging"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_opm_localities","title":"GS locality pay areas","description":"Returns OPM General Schedule locality pay areas for the latest pay year with the code for get_opm_pay. `location` keeps areas whose name contains every word and areas of counties or cities with exactly that name (`state` narrows it); `matched_places` shows why. A place in no area returns Rest of U.S. (RUS); several areas come back when a name exists in several states or a city spans areas. Empty results mean an unknown name, not RUS. Territories are not covered.","inputSchema":{"type":"object","properties":{"location":{"anyOf":[{"type":"string","minLength":2},{"type":"null"}],"description":"County, city or locality area name.","examples":["evanston"],"title":"Location"},"state":{"anyOf":[{"type":"string","description":"2-digits US State ISO Code, format XX","examples":["AL","CA"]},{"type":"null"}],"description":"Restrict `location` to one state.","title":"State"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"GS locality pay areas"},"tags":["MCP - OPM - General Schedule pay"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_opm_locality_by_county","title":"GS locality pay area of a county","description":"Returns the General Schedule locality pay area of a county by five-digit FIPS code for the latest pay year, with the code for get_opm_pay. Counties outside every area return Rest of U.S. (RUS); every county in Alaska or Hawaii returns that state's area. Unknown codes, Connecticut planning regions and territory counties are 404 errors. Use get_opm_localities to search by name.","inputSchema":{"type":"object","properties":{"fips":{"type":"string","pattern":"^\\d{5}$","description":"Five-digit county FIPS code: two for the state and three for the county.","examples":["17031"],"title":"Fips"}},"required":["fips"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"GS locality pay area of a county"},"tags":["MCP - OPM - General Schedule pay"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"search_opm_pay","title":"Search GS pay by locality area","description":"Return the latest General Schedule pay tables whose locality area matches every word of `q`: each word must be contained in the area name, case-insensitively, or equal its code. `grade` and `step` narrow the rates; no match returns an empty `results` list. Matching only looks at OPM's area names, not the counties and towns they cover, so a town missing from the names returns nothing, which does not mean Rest of U.S. Use get_opm_localities to resolve a place to its area.","inputSchema":{"type":"object","properties":{"q":{"type":"string","minLength":2,"description":"Words to find in the locality area name or code, all required, case-insensitive.","examples":["chicago"],"title":"Q"},"grade":{"anyOf":[{"type":"integer","maximum":15,"minimum":1},{"type":"null"}],"description":"Return only this GS grade, 1 to 15.","title":"Grade"},"step":{"anyOf":[{"type":"integer","maximum":10,"minimum":1},{"type":"null"}],"description":"Return only this step, 1 to 10.","title":"Step"}},"required":["q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"Search GS pay by locality area"},"tags":["MCP - OPM - General Schedule pay"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_opm_pay","title":"GS pay by locality code","description":"Return the latest pay table of a locality pay area, ordered by grade and step, or 404 for an unknown code. `grade` and `step` narrow the rates. Use `GS` for the base table without locality pay, and `RUS` for Rest of U.S.","inputSchema":{"type":"object","properties":{"locality_code":{"type":"string","description":"OPM locality pay area code, from /v1/opm/localities, or GS for the base table. Case-insensitive.","examples":["CHI"],"title":"Locality Code"},"grade":{"anyOf":[{"type":"integer","maximum":15,"minimum":1},{"type":"null"}],"description":"Return only this GS grade, 1 to 15.","title":"Grade"},"step":{"anyOf":[{"type":"integer","maximum":10,"minimum":1},{"type":"null"}],"description":"Return only this step, 1 to 10.","title":"Step"}},"required":["locality_code"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"GS pay by locality code"},"tags":["MCP - OPM - General Schedule pay"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_latest_publications","title":"Latest data publications","description":"Returns the most recent data loaded for each source, with its publication date and fiscal year: DSSR\nallowances and per diem, DTMO CONUS and OCONUS per diem, GSA per diem, mileage, vehicle rates and M&IE\nbreakdowns, FEMA hotels and OPM pay tables. Use it to say how current an answer is. Returns no rates.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"Latest data publications"},"tags":["MCP - Metadata"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]},{"name":"get_user","title":"Account plan and quota","description":"Returns the account behind the API key: plan, monthly request limit, requests used in the current billing\nperiod, and the period start, end and renewal date. Use it to explain a quota or plan error or to check\nremaining requests. This call does not count against the quota.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"title":"Account plan and quota"},"tags":["MCP - User"],"securitySchemes":[{"type":"oauth2","scopes":["mcp:tools"]}],"security":[{"APIKeyHeader":[]},{"OAuthBearer":[]}]}]},"tags":[{"name":"MCP server","x-traitTag":true,"description":"\nAI agents and MCP clients can call every `/v1/` endpoint of this API as a tool through the Streamable HTTP MCP server at `https://mcp.allowancesapi.com/mcp`.\nInitialization and tool discovery need no credentials. Tool calls need either an OAuth 2.1 sign-in with an Allowances API account (Claude, Claude Code and ChatGPT: a credential-less tool call is answered with HTTP 401 and the protected-resource metadata, see `/mcp-server`) or the `X-API-Key` header on the MCP connection; keys are never passed as tool arguments.\nEach tool call follows the authentication, date, plan and quota rules of the endpoint it wraps. Rate tools return `verification_url`, a link to the official government table for the returned location and date, unless called with `verification_url=false`.\nThe tool catalogue is published in the `x-mcp` extension of this OpenAPI document and listed below, grouped like the endpoints.\n"}],"x-tagGroups":[{"name":"REST API","tags":["DSSR - OCONUS locations","DTMO - Mil. CONUS/OCONUS","FEMA - Fire-safe lodging","GSA - per diem, mileage, fleet and airfare","Metadata","OPM - General Schedule pay","User"]},{"name":"MCP","tags":["MCP server","MCP - DSSR - OCONUS locations","MCP - DTMO - Mil. CONUS/OCONUS","MCP - FEMA - Fire-safe lodging","MCP - GSA - per diem, mileage, fleet and airfare","MCP - Metadata","MCP - OPM - General Schedule pay","MCP - User"]}]}