MockHero

ip_address

Technical

Generate IPv4 or IPv6 addresses. For network testing, access logs, geo-IP testing, and security audit data. Configurable version.

Example Outputs

192.168.1.4210.0.0.12001:0db8:85a3::8a2e:0370:7334

Parameters

ParameterDescription
versionIP version (v4 or v6)

API Usage

Send a POST request to generate ip address data:

curl -X POST https://mockhero.dev/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tables": [
    {
      "name": "example",
      "count": 5,
      "fields": [
        {
          "name": "ip_address",
          "type": "ip_address",
          "params": {
            "version": "v4"
          }
        }
      ]
    }
  ]
}'

Common Use Cases

  • Access log generation
  • Network testing
  • Geo-IP testing
  • Firewall rule testing

Quick Info

Field Type
ip_address
Category
Technical
Parameters
1 parameter
Output Format
JSON, CSV, SQL

Try it now

Generate ip address data instantly in the playground.

Generate IP Address + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free