Get IPs used on the Cloudflare/JD Cloud network, see https://www.cloudflare.com/ips for Cloudflare IPs or https://developers.cloudflare.com/china-network/reference/infrastructure/ for JD Cloud IPs.
/ips
get
Cloudflare IPs
cloudflare-i-ps-cloudflare-ip-details
null null [
{
"description": "Specified as `jdcloud` to list IPs used by JD Cloud data centers.",
"in": "query",
"name": "networks",
"schema": {
"type": "string"
}
}
] null {
"200": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"allOf": [
{
"properties": {
"errors": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"messages": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"result": {
"anyOf": [
{
"type": "object"
},
{
"items": {},
"type": "array"
},
{
"type": "string"
}
]
},
"success": {
"description": "Whether the API call was successful",
"enum": [
true
],
"example": true,
"type": "boolean"
}
},
"required": [
"success",
"errors",
"messages",
"result"
],
"type": "object"
},
{
"properties": {
"result": {
"anyOf": [
{
"type": "object"
},
{
"type": "string"
}
]
}
}
}
],
"type": "object"
},
{
"properties": {
"result": {
"oneOf": [
{
"properties": {
"etag": {
"description": "A digest of the IP data. Useful for determining if the data has changed.",
"example": "a8e453d9d129a3769407127936edfdb0",
"type": "string"
},
"ipv4_cidrs": {
"description": "List of Cloudflare IPv4 CIDR addresses.",
"items": {
"description": "IPv4 CIDR.",
"example": "199.27.128.0/21",
"type": "string"
},
"type": "array"
},
"ipv6_cidrs": {
"description": "List of Cloudflare IPv6 CIDR addresses.",
"items": {
"description": "IPv6 CIDR.",
"example": "2400:cb00::/32",
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
{
"properties": {
"etag": {
"description": "A digest of the IP data. Useful for determining if the data has changed.",
"example": "a8e453d9d129a3769407127936edfdb0",
"type": "string"
},
"ipv4_cidrs": {
"description": "List of Cloudflare IPv4 CIDR addresses.",
"items": {
"description": "IPv4 CIDR.",
"example": "199.27.128.0/21",
"type": "string"
},
"type": "array"
},
"ipv6_cidrs": {
"description": "List of Cloudflare IPv6 CIDR addresses.",
"items": {
"description": "IPv6 CIDR.",
"example": "2400:cb00::/32",
"type": "string"
},
"type": "array"
},
"jdcloud_cidrs": {
"description": "List IPv4 and IPv6 CIDRs, only populated if `?networks=jdcloud` is used.",
"items": {
"description": "IPv4 or IPv6 CIDR.",
"example": "199.27.128.0/21",
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
]
}
}
}
]
}
}
},
"description": "Cloudflare IP Details response"
},
"4XX": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"allOf": [
{
"allOf": [
{
"properties": {
"errors": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"messages": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"result": {
"anyOf": [
{
"type": "object"
},
{
"items": {},
"type": "array"
},
{
"type": "string"
}
]
},
"success": {
"description": "Whether the API call was successful",
"enum": [
true
],
"example": true,
"type": "boolean"
}
},
"required": [
"success",
"errors",
"messages",
"result"
],
"type": "object"
},
{
"properties": {
"result": {
"anyOf": [
{
"type": "object"
},
{
"type": "string"
}
]
}
}
}
],
"type": "object"
},
{
"properties": {
"result": {
"oneOf": [
{
"properties": {
"etag": {
"description": "A digest of the IP data. Useful for determining if the data has changed.",
"example": "a8e453d9d129a3769407127936edfdb0",
"type": "string"
},
"ipv4_cidrs": {
"description": "List of Cloudflare IPv4 CIDR addresses.",
"items": {
"description": "IPv4 CIDR.",
"example": "199.27.128.0/21",
"type": "string"
},
"type": "array"
},
"ipv6_cidrs": {
"description": "List of Cloudflare IPv6 CIDR addresses.",
"items": {
"description": "IPv6 CIDR.",
"example": "2400:cb00::/32",
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
{
"properties": {
"etag": {
"description": "A digest of the IP data. Useful for determining if the data has changed.",
"example": "a8e453d9d129a3769407127936edfdb0",
"type": "string"
},
"ipv4_cidrs": {
"description": "List of Cloudflare IPv4 CIDR addresses.",
"items": {
"description": "IPv4 CIDR.",
"example": "199.27.128.0/21",
"type": "string"
},
"type": "array"
},
"ipv6_cidrs": {
"description": "List of Cloudflare IPv6 CIDR addresses.",
"items": {
"description": "IPv6 CIDR.",
"example": "2400:cb00::/32",
"type": "string"
},
"type": "array"
},
"jdcloud_cidrs": {
"description": "List IPv4 and IPv6 CIDRs, only populated if `?networks=jdcloud` is used.",
"items": {
"description": "IPv4 or IPv6 CIDR.",
"example": "199.27.128.0/21",
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
]
}
}
}
]
},
{
"properties": {
"errors": {
"allOf": [
{
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
}
],
"example": [
{
"code": 7003,
"message": "No route for the URI"
}
],
"minLength": 1
},
"messages": {
"allOf": [
{
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
}
],
"example": []
},
"result": {
"enum": [
null
],
"nullable": true,
"type": "object"
},
"success": {
"description": "Whether the API call was successful",
"enum": [
false
],
"example": false,
"type": "boolean"
}
},
"required": [
"success",
"errors",
"messages",
"result"
],
"type": "object"
}
]
}
}
},
"description": "Cloudflare IP Details response failure"
}
} [
{
"api_token": []
},
{
"api_email": [],
"api_key": []
}
]