PaperOffice AI Data AI — IP Geolocation API
IP-derived location. **IP-based weather** is `/ip2location/weather`. City/GPS weather lives under **Data AI — Weather** (`/weather`, `/location2weather`).
IP-derived location. **IP-based weather** is `/ip2location/weather`. City/GPS weather lives under **Data AI — Weather** (`/weather`, `/location2weather`).
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-ip-geolocation-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 — IP Geolocation 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 — IP Geolocation
description: IP-derived location. **IP-based weather** is `/ip2location/weather`. City/GPS weather lives under **Data AI — Weather** (`/weather`, `/location2weather`).
paths:
/ip2location/countrylist:
post:
operationId: po-ip-geolocation-country-list
summary: List IP countries
tags:
- Data AI — IP Geolocation
description: 'Get list of all supported countries with basic info. Returns: - Country codes ISO 2-letter - Country names - Currency codes - Primary languages'
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-ip-geolocation-country-list.md
requestBody:
required: false
content:
multipart/form-data:
schema:
type: object
description: Returns a complete country list with country code, currencies, dialing prefixes, and VAT information.
properties:
language:
type: string
description: Language for country names (e.g. de, en, fr).
default: en
required: []
application/x-www-form-urlencoded:
schema:
type: object
description: Returns a complete country list with country code, currencies, dialing prefixes, and VAT information.
properties:
language:
type: string
description: Language for country names (e.g. de, en, fr).
default: en
required: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: Laenderliste
properties:
processing_time:
type: string
description: 'Verarbeitungszeit (Format: 123.45ms)'
countries:
type: array
items:
type: object
total:
type: number
required:
- processing_time
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/ip2location/device:
post:
operationId: po-ip-geolocation-device-fingerprint
summary: Get IP device fingerprint
tags:
- Data AI — IP Geolocation
description: Analyzes device/browser signals and returns a device fingerprint hash plus risk indicators.
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-ip-geolocation-device-fingerprint.md
requestBody:
required: false
content:
multipart/form-data:
schema:
type: object
properties:
ip:
type: string
description: IP address to analyze for device fingerprint
required: []
application/x-www-form-urlencoded:
schema:
type: object
properties:
ip:
type: string
description: IP address to analyze for device fingerprint
required: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: Device Fingerprint via IP
properties:
processing_time:
type: string
description: 'Verarbeitungszeit (Format: 123.45ms)'
fingerprint:
type: string
confidence:
type: number
device_info:
type: object
required:
- processing_time
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/ip2location/full:
get:
operationId: po-ip-geolocation-full-all-information
summary: Get IP full information
tags:
- Data AI — IP Geolocation
description: Full IP Information Get complete IP geolocation and ISP data.
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-ip-geolocation-full-all-information.md
parameters:
- name: ip
in: query
required: false
schema:
type: string
description: IP address or public hostname to look up. If omitted, the callers IP is used.
- name: locale
in: query
required: false
schema:
type: string
default: en
description: Response locale (en, de, fr, es, etc.)
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: IP Geolocation alle Informationen
properties:
processing_time:
type: string
description: 'Verarbeitungszeit (Format: 123.45ms)'
ip:
type: string
country:
type: string
country_code:
type: string
region:
type: string
city:
type: string
latitude:
type: number
longitude:
type: number
timezone:
type: string
isp:
type: string
is_vpn:
type: boolean
is_proxy:
type: boolean
threat_score:
type: number
required:
- processing_time
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/ip2location/location:
post:
operationId: po-ip-geolocation-location
summary: Get IP location only
tags:
- Data AI — IP Geolocation
description: IP Location Only Get basic location data for an IP.
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-ip-geolocation-location.md
requestBody:
required: false
content:
multipart/form-data:
schema:
type: object
properties:
ip:
type: string
description: IPv4 or IPv6 address, or a public hostname, to look up. Omit to use the caller's IP address.
required: []
application/x-www-form-urlencoded:
schema:
type: object
properties:
ip:
type: string
description: IPv4 or IPv6 address, or a public hostname, to look up. Omit to use the caller's IP address.
required: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: IP nur Location
properties:
processing_time:
type: string
description: 'Processing time (format: 123.45ms)'
ip:
type: string
description: Ip
country:
type: string
description: Country
city:
type: string
description: City
latitude:
type: number
description: Latitude
longitude:
type: number
description: Longitude
status:
type: string
description: 'Request status: "success" or "error"'
enum:
- success
- error
required:
- processing_time
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/ip2location/vpn:
post:
operationId: po-ip-geolocation-vpn-detection
summary: Detect IP VPN usage
tags:
- Data AI — IP Geolocation
description: 'Detect VPN, proxy, Tor, iCloud Private Relay and data-center use for an IP address (read-only; IP lists plus a provider-name fallback). Parameter: ip (optional IPv4/IPv6 or hostname; default is the caller IP). HTTP: GET /ip2location/vpn...'
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-ip-geolocation-vpn-detection.md
requestBody:
required: false
content:
multipart/form-data:
schema:
type: object
properties:
ip:
type: string
description: IPv4 or IPv6 address, or a public hostname, to look up. Omit to use the caller's IP address.
required: []
application/x-www-form-urlencoded:
schema:
type: object
properties:
ip:
type: string
description: IPv4 or IPv6 address, or a public hostname, to look up. Omit to use the caller's IP address.
required: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
processing_time:
type: string
description: 'Verarbeitungszeit (Format: 123.45ms)'
ip:
type: string
is_vpn:
type: boolean
is_proxy:
type: boolean
is_tor:
type: boolean
provider:
type: string
required:
- processing_time
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/ip2location/weather:
get:
operationId: po-weather-by-ip
summary: Get weather by IP
tags:
- Data AI — IP Geolocation
description: Weather for an IP address (geolocation + weather).
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-weather-by-ip.md
parameters:
- name: ip
in: query
required: false
schema:
type: string
description: Public IPv4/IPv6 address or public hostname to geolocate. If omitted, the caller IP is used (often unsuitable in server-side/MCP calls).
- name: lang
in: query
required: false
schema:
type: string
default: en
description: Response language.
- name: locale
in: query
required: false
schema:
type: string
description: Alias for lang.
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: Weather by IP address
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
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
plan:
type: object
properties:
tier:
type: string
name:
type: string
credits_billed:
type: integer
ip:
type: object
properties:
ip:
type: string
location:
type: object
properties:
timezone:
type: object
properties:
name:
type: string
offsethours:
type: integer
geo_lat:
type: string
geo_lon:
type: string
city:
type: object
properties:
name:
type: string
zip:
type: string
district:
type: string
region:
type: object
properties:
code:
type: string
name:
type: string
continent:
type: object
properties:
name:
type: string
code:
type: string
country:
type: object
properties:
name:
type: string
code:
type: string
currency:
type: string
spoken_languages:
type: string
capital:
type: string
callingcode:
type: string
primary_language:
type: string
provider:
type: object
properties:
as:
type: string
asname:
type: string
isp:
type: string
org:
type: string
status:
type: string
language:
type: object
properties:
by_country:
type: string
locale:
type: object
properties:
by_browser:
type: boolean
country_details:
type: object
properties:
warnings:
type: array
processing_time:
type: string
status:
type: string
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
/ip2location/weathericon_get:
get:
operationId: po-weather-icons
summary: List weather icons
tags:
- Data AI — IP Geolocation
description: Returns weather icons (Base64 PNG or CDN fallback) for one or more WMO condition_code values from weather responses.
externalDocs:
url: https://api.paperoffice.ai/latest/docs/endpoints/po-weather-icons.md
parameters:
- name: condition_code
in: query
required: true
schema:
type: string
description: WMO weather condition code(s). Comma-separated for multiple icons (e.g. 1000 or 1000,1003,1006).
- name: size
in: query
required: false
schema:
type: string
enum:
- 64x64
- 128x128
default: 128x128
description: Icon dimensions. Must match available static assets.
- name: is_day
in: query
required: false
schema:
type: string
default: 'true'
description: Day (true) or night (false) icon variant.
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
description: Weather-icon mapping (WMO codes to icon URLs)
properties:
status:
type: string
description: Operation result status
enum:
- success
- error
message:
type: string
description: Human-readable status message
icons:
type: object
description: Mapping of WMO weather codes to icon URLs and descriptions
additionalProperties:
type: object
properties:
day:
type: string
description: Icon URL for day
night:
type: string
description: Icon URL for night
description:
type: string
description: Wetterbeschreibung
processing_time:
type: string
description: Request processing time (e.g. "123.45ms")
required:
- status
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