PaperOffice AI Data AI — Weather API
City/GPS weather (`/weather`, `/location2weather`). IP-derived weather is under **Data AI — IP Geolocation** (`/ip2location/weather`).
City/GPS weather (`/weather`, `/location2weather`). IP-derived weather is under **Data AI — IP Geolocation** (`/ip2location/weather`).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/paperoffice-ai:paperoffice-ai-data-ai-weather-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: PaperOffice AI Data AI — Weather API
version: R20261120.1802
summary: 'PaperOffice AI, the Document Operations Platform: OCR, IDP, DMS, PDF, e-signatures, anonymization, workflows, translation, voice.'
description: 'Generated from the PaperOffice API SOT (release `R20261120.1802`). Agent documentation: llms.txt (index), integration guide and llms-full.txt. Check each response media type; downloads may be binary.
JSON success envelopes commonly carry `status: "success"`; JSON errors commonly carry `status: "error"`, `code` and `message`. Job endpoints hold the connection while `client_wait=true` (default) and answer HTTP 202 with `poll_url` when the hold window ends — poll `GET /job/get/{job_id}`. Operations that share one method and path list their documented variants in `x-paperoffice-variants`.'
servers:
- url: https://api.paperoffice.ai/latest
security:
- bearerAuth: []
tags:
- name: Data AI — Weather
description: City/GPS weather (`/weather`, `/location2weather`). IP-derived weather is under **Data AI — IP Geolocation** (`/ip2location/weather`).
paths:
/weather:
get:
operationId: po-weather-by-city
summary: Get weather by city
tags:
- Data AI — Weather
x-paperoffice-variants:
- slug: po-weather-by-city
name: Get weather by city
docs: https://api.paperoffice.ai/latest/docs/endpoints/po-weather-by-city.md
- slug: po-weather-by-coordinates
name: Get weather by coordinates
docs: https://api.paperoffice.ai/latest/docs/endpoints/po-weather-by-coordinates.md
description: 'Returns current weather and forecast for a city name (geocoded server-side).
This operation has 2 documented variants (same method and path, different fields):
- Get weather by city — Returns current weather and forecast for a city name (geocoded server-side).
- Get weather by coordinates — Returns current weather and a multi-day forecast for GPS coordinates.'
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-weather-by-city.md
parameters:
- name: city
in: query
required: false
schema:
type: string
description: City name to geocode (e.g. Berlin, Munich).
- name: country
in: query
required: false
schema:
type: string
description: Optional ISO country hint to disambiguate the city (e.g. DE, US).
- name: lang
in: query
required: false
schema:
anyOf:
- type: string
description: Response language for condition text.
default: en
- type: string
description: Response language for condition text (e.g. de, en).
default: en
- name: locale
in: query
required: false
schema:
type: string
description: Alias for lang.
- name: lat
in: query
required: false
schema:
type: number
description: Latitude (-90 to 90).
- name: lon
in: query
required: false
schema:
type: number
description: Longitude (-180 to 180).
responses:
'200':
description: Success
content:
application/json:
schema:
anyOf:
- type: object
description: Weather by city
properties:
_billing:
type: object
properties:
credits:
type: object
properties:
total_monthly:
type: integer
remaining_monthly:
type: integer
credit_source:
type: string
api_handler:
type: string
tier_info:
type: object
properties:
tier:
type: string
name:
type: string
initial_credits:
type: integer
price_monthly:
type: integer
price_overage_per_credit:
type: integer
notice:
type: string
renewal_days:
type: integer
subscription_status:
type: string
job:
type: object
properties:
api_job_name:
type: string
app:
type: string
action:
type: string
default_credits:
type: integer
credits_billed:
type: integer
pricing:
type: object
properties:
credits_per_unit:
type: integer
unit:
type: string
unit_count:
type: integer
addons:
type: string
requests:
type: object
properties:
limits:
type: object
properties:
second:
type: integer
minute:
type: integer
hour:
type: integer
day:
type: integer
current:
type: object
properties:
second:
type: integer
minute:
type: integer
hour:
type: integer
day:
type: integer
remaining:
type: object
properties:
second:
type: integer
minute:
type: integer
hour:
type: integer
day:
type: integer
next_possible_request_seconds:
type: integer
remaining_credits:
type: integer
total_monthly:
type: integer
account_id:
type: integer
plan:
type: object
properties:
tier:
type: string
name:
type: string
credits_billed:
type: integer
air_quality:
type: object
properties:
co:
type: integer
no2:
type: number
o3:
type: integer
so2:
type: number
pm2_5:
type: number
pm10:
type: number
us_epa_index:
type: integer
gb_defra_index:
type: integer
current:
type: object
properties:
last_updated:
type: string
temp_c:
type: number
temp_f:
type: number
condition:
type: object
properties:
text:
type: string
icon:
type: string
icon_url:
type: string
code:
type: integer
wind_mph:
type: number
wind_kph:
type: number
wind_degree:
type: integer
wind_dir:
type: string
pressure_mb:
type: integer
pressure_in:
type: number
precip_mm:
type: number
precip_in:
type: integer
humidity:
type: integer
cloud:
type: integer
feelslike_c:
type: number
feelslike_f:
type: number
vis_km:
type: integer
vis_miles:
type: integer
uv:
type: number
gust_mph:
type: number
gust_kph:
type: number
forecast:
type: array
items:
type: object
properties:
date:
type: string
date_epoch:
type: integer
day:
type: object
properties:
maxtemp_c:
type: number
maxtemp_f:
type: number
mintemp_c:
type: number
mintemp_f:
type: number
avgtemp_c:
type: number
avgtemp_f:
type: number
maxwind_mph:
type: number
maxwind_kph:
type: number
totalprecip_mm:
type: number
totalprecip_in:
type: number
totalsnow_cm:
type: integer
avgvis_km:
type: number
avgvis_miles:
type: integer
avghumidity:
type: integer
condition:
type: object
properties:
text:
type: string
icon:
type: string
icon_url:
type: string
code:
type: integer
uv:
type: number
daily_chance_of_rain:
type: integer
daily_chance_of_snow:
type: integer
astro:
type: object
properties:
sunrise:
type: string
sunset:
type: string
moonrise:
type: string
moonset:
type: string
moon_phase:
type: string
moon_illumination:
type: integer
is_moon_up:
type: integer
is_sun_up:
type: integer
location:
type: object
properties:
name:
type: string
region:
type: string
country:
type: string
lat:
type: number
lon:
type: number
timezone:
type: string
localtime:
type: string
precipitation:
type: object
properties:
rain_hours:
type: integer
total_mm:
type: number
max_probability:
type: integer
need_umbrella:
type: boolean
processing_time:
type: string
status:
type: string
- type: object
description: Weather by coordinates
properties:
_billing:
type: object
properties:
credits:
type: object
properties:
total_monthly:
type: integer
remaining_monthly:
type: integer
credit_source:
type: string
api_handler:
type: string
tier_info:
type: object
properties:
tier:
type: string
name:
type: string
initial_credits:
type: integer
price_monthly:
type: integer
price_overage_per_credit:
type: integer
notice:
type: string
renewal_days:
type: integer
subscription_status:
type: string
job:
type: object
properties:
api_job_name:
type: string
app:
type: string
action:
type: string
default_credits:
type: integer
credits_billed:
type: integer
pricing:
type: object
properties:
credits_per_unit:
type: integer
unit:
type: string
unit_count:
type: integer
addons:
type: string
requests:
type: object
properties:
limits:
type: object
properties:
second:
type: integer
minute:
type: integer
hour:
type: integer
day:
type: integer
current:
type: object
properties:
second:
type: integer
minute:
type: integer
hour:
type: integer
day:
type: integer
remaining:
type: object
properties:
second:
type: integer
minute:
type: integer
hour:
type: integer
day:
type: integer
next_possible_request_seconds:
type: integer
remaining_credits:
type: integer
total_monthly:
type: integer
effective_token:
type: string
account_id:
type: integer
plan:
type: object
properties:
tier:
type: string
name:
type: string
user:
type: object
properties:
ip:
type: string
code:
type: string
error:
type: string
message:
type: string
processing_time:
type: string
status:
type: string
timestamp:
type: string
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
components:
responses:
Error:
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
schemas:
ErrorEnvelope:
type: object
properties:
status:
type: string
const: error
code:
type: string
message:
type: string
retryable:
type: boolean
required:
- status
- message
additionalProperties: true
securitySchemes:
signingToken:
type: apiKey
in: query
name: token
description: Signer capability from the signing link. Protect it as a credential.
bearerAuth:
type: http
scheme: bearer
description: '`po_sk_` (secret key) or `po_ut_` (user token) server-side; `po_pk_` is public, scope/budget-capped and host-allowlisted. Origin can be forged outside browsers and is not caller authentication. Documentation routes under `/docs/` also answer without a Bearer (visitor tier).'
externalDocs:
description: Agent documentation (llms.txt)
url: https://api.paperoffice.ai/latest/docs/llms.txt