longitude
LocationGenerate longitude coordinates within optional min/max bounds. Pair with latitude for complete geographic coordinate generation.
Example Outputs
13.404954139.691706-74.005974151.209296Parameters
| Parameter | Description |
|---|---|
| min | Minimum longitude |
| max | Maximum longitude |
API Usage
Send a POST request to generate longitude 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": "longitude",
"type": "longitude",
"params": {
"min": 1,
"max": 100
}
}
]
}
]
}'Common Use Cases
- Map marker testing
- Geofencing testing
- Store locator testing
- GPS tracking testing
Quick Info
- Field Type
- longitude
- Category
- Location
- Parameters
- 2 parameters
- Output Format
- JSON, CSV, SQL
Generate Longitude + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.