-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabstract-api-ip-intelligence.yaml
More file actions
311 lines (311 loc) · 9.23 KB
/
Copy pathabstract-api-ip-intelligence.yaml
File metadata and controls
311 lines (311 loc) · 9.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
openapi: 3.0.3
info:
title: Abstract API - IP Intelligence API
description: Detect VPNs, proxies, Tor exit nodes, abuse potential, hosting services, relays, and mobile IPs. Also provides ASN, company, location, timezone, flag, and currency data for any IP address.
version: 1.0.0
contact:
url: https://www.abstractapi.com/
x-generated-from: documentation
servers:
- url: https://ip-intelligence.abstractapi.com/v1
description: IP Intelligence API v1
security:
- apiKey: []
tags:
- name: IP Intelligence
description: Advanced IP address intelligence and security operations
paths:
/:
get:
operationId: getIPIntelligence
summary: Abstract API Get IP Intelligence
description: Analyze an IP address for security signals including VPN, proxy, Tor, abuse, hosting, relay, and mobile detection along with location and ASN data.
tags:
- IP Intelligence
parameters:
- name: api_key
in: query
description: Your unique API key for the IP Intelligence API.
required: true
schema:
type: string
example: abc123def456
- name: ip_address
in: query
description: IPv4 or IPv6 address to analyze. Auto-detects request IP if omitted.
required: false
schema:
type: string
example: 8.8.8.8
- name: fields
in: query
description: Comma-separated list of top-level keys to return.
required: false
schema:
type: string
example: security,location,asn
responses:
'200':
description: Successful IP intelligence response
content:
application/json:
schema:
$ref: '#/components/schemas/IPIntelligenceResponse'
examples:
getIPIntelligence200Example:
summary: Default getIPIntelligence 200 response
x-microcks-default: true
value:
ip_address: 8.8.8.8
security:
is_vpn: false
is_proxy: false
is_tor: false
is_hosting: true
is_relay: false
is_mobile: false
is_abuse: false
asn:
asn: AS15169
name: Google LLC
domain: google.com
type: hosting
company:
name: Google LLC
domain: google.com
type: hosting
domains:
- dns.google
location:
city: Mountain View
region: California
country: United States
country_code: US
latitude: 37.386
longitude: -122.0838
timezone:
name: America/Los_Angeles
abbreviation: PST
utc_offset: -8
local_time: '2026-04-19T10:30:00'
is_dst: false
flag:
emoji: "🇺🇸"
unicode: U+1F1FA U+1F1F8
png: https://static.abstractapi.com/country-flags/US_flag.png
svg: https://static.abstractapi.com/country-flags/US_flag.svg
currency:
name: US Dollar
iso_code: USD
symbol: $
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthorized - invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
components:
securitySchemes:
apiKey:
type: apiKey
in: query
name: api_key
schemas:
IPIntelligenceResponse:
type: object
description: Full IP intelligence response
properties:
ip_address:
type: string
description: Analyzed IP address
example: 8.8.8.8
security:
$ref: '#/components/schemas/IPSecurityFlags'
asn:
$ref: '#/components/schemas/ASNInfo'
company:
$ref: '#/components/schemas/CompanyBasic'
domains:
type: array
description: Known domains associated with this IP
items:
type: string
example:
- dns.google
location:
$ref: '#/components/schemas/LocationInfo'
timezone:
$ref: '#/components/schemas/TimezoneInfo'
flag:
$ref: '#/components/schemas/FlagInfo'
currency:
$ref: '#/components/schemas/CurrencyInfo'
IPSecurityFlags:
type: object
description: Security classification flags for the IP
properties:
is_vpn:
type: boolean
description: IP is a known VPN endpoint
example: false
is_proxy:
type: boolean
description: IP is a known proxy server
example: false
is_tor:
type: boolean
description: IP is a Tor exit node
example: false
is_hosting:
type: boolean
description: IP belongs to a hosting or cloud provider
example: true
is_relay:
type: boolean
description: IP is used as a relay (e.g., Apple Private Relay)
example: false
is_mobile:
type: boolean
description: IP is associated with a mobile network
example: false
is_abuse:
type: boolean
description: IP has been flagged for abuse
example: false
ASNInfo:
type: object
description: Autonomous System Number information
properties:
asn:
type: string
description: ASN identifier
example: AS15169
name:
type: string
description: ASN organization name
example: Google LLC
domain:
type: string
description: Primary domain for the ASN
example: google.com
type:
type: string
description: Type of ASN (hosting, isp, business, etc.)
example: hosting
CompanyBasic:
type: object
description: Company information for the IP owner
properties:
name:
type: string
description: Company name
example: Google LLC
domain:
type: string
description: Company domain
example: google.com
type:
type: string
description: Company type
example: hosting
LocationInfo:
type: object
description: Geographic location for the IP
properties:
city:
type: string
description: City name
example: Mountain View
region:
type: string
description: Region or state
example: California
country:
type: string
description: Country name
example: United States
country_code:
type: string
description: ISO 3166-1 alpha-2 country code
example: US
latitude:
type: number
format: double
description: Latitude
example: 37.386
longitude:
type: number
format: double
description: Longitude
example: -122.0838
TimezoneInfo:
type: object
properties:
name:
type: string
example: America/Los_Angeles
abbreviation:
type: string
example: PST
utc_offset:
type: integer
example: -8
local_time:
type: string
example: '2026-04-19T10:30:00'
is_dst:
type: boolean
example: false
FlagInfo:
type: object
properties:
emoji:
type: string
example: "🇺🇸"
unicode:
type: string
example: U+1F1FA U+1F1F8
png:
type: string
format: uri
example: https://static.abstractapi.com/country-flags/US_flag.png
svg:
type: string
format: uri
example: https://static.abstractapi.com/country-flags/US_flag.svg
CurrencyInfo:
type: object
properties:
name:
type: string
example: US Dollar
iso_code:
type: string
example: USD
symbol:
type: string
example: $
ErrorResponse:
type: object
properties:
message:
type: string
example: The provided API key is invalid
error:
type: string
example: invalid_api_key