Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: API.io Ip API
version: '2026-11-29'
description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-29: 7 operation(s) read from 8 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; IP-API.io has published no machine-readable contract that the pipeline could find. Engine: local.'
x-evidence-tiers:
code-example: 9
documentation: -2
pages-with-code: 7
pages-read: 8
x-generated-from: documentation
x-provenance: generated
x-authored-by: API Evangelist
x-generated: '2026-11-29'
x-generator: generate-contract-from-docs.py
x-engine: local
x-sources:
- https://ip-api.io/bot-detection-api
- https://ip-api.io/ip-geolocation-api
- https://ip-api.io/fraud-detection-api
- https://ip-api.io/proxy-detection-api
- https://ip-api.io/email-verification-api
- https://ip-api.io/vpn-detection-api
- https://ip-api.io/openapi.json
- https://ip-api.io/asn-lookup
servers:
- url: https://ip-api.io
tags:
- name: Ip
paths:
/api/v1/ip/{ip}:
get:
operationId: get_api_v1_ip_ip
tags:
- Ip
summary: Bot Detection API — Known Bot & Crawler IP Check
x-source: https://ip-api.io/bot-detection-api
parameters:
- name: ip
in: path
required: true
schema:
type: string
- name: api_key
in: query
required: true
schema:
type: string
description: Your API key.
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetApiV1IpIpResponse'
x-evidence:
kind: documentation
components:
schemas:
GetApiV1IpIpResponse:
type: object
properties:
ip:
type: string
description: The queried IP address.
isp:
type: string
description: Internet service provider name.
asn:
type: string
description: Autonomous system number.
suspicious_factors:
type: object
description: Flags describing the IP.
suspicious_factors.is_proxy:
type: boolean
description: Whether the IP is a known proxy.
suspicious_factors.is_tor_node:
type: boolean
description: Whether the IP is a Tor exit node.
suspicious_factors.is_spam:
type: boolean
description: Whether the IP is flagged as spam.
suspicious_factors.is_crawler:
type: boolean
description: True if the IP belongs to a known bot/crawler.
suspicious_factors.bot_name:
type: string
description: Name of the bot operator (e.g., "google"), null if not a known bot.
suspicious_factors.is_datacenter:
type: boolean
description: Whether the IP is in a datacenter range.
suspicious_factors.is_vpn:
type: boolean
description: Whether the IP is a VPN.
suspicious_factors.is_threat:
type: boolean
description: Whether the IP is flagged as a threat.
suspicious_factors.is_bogon:
type: boolean
description: Whether the IP is a bogon address.
location:
type: object
description: Geolocation information.
location.country:
type: string
description: Country name.
location.country_code:
type: string
description: ISO country code.
location.city:
type: string
description: City name.
location.latitude:
type: number
description: Latitude.
location.longitude:
type: number
description: Longitude.
location.zip:
type: string
description: ZIP/postal code.
location.timezone:
type: string
description: Timezone identifier.
location.local_time:
type: string
description: Local time in ISO 8601.
location.local_time_unix:
type: integer
description: Local time as Unix timestamp.
location.is_daylight_savings:
type: boolean
description: Daylight savings flag.