← All tool references

Generators · not_available

Random Coordinate Generator

Random Coordinate with transparent inputs and reviewable results.

Open public tool

Overview

Category
Generators
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/random-coordinate-generator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/random-coordinate-generator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

minimum_latitude · number · required
Enter minimum latitude.
maximum_latitude · number · required
Enter maximum latitude.
minimum_longitude · number · required
Enter minimum longitude.
maximum_longitude · number · required
Enter maximum longitude.
quantity · number · required
Enter coordinates.
decimals · number · required
Enter decimal places.
{
    "type": "object",
    "properties": {
        "minimum_latitude": {
            "type": "number",
            "description": "Enter minimum latitude."
        },
        "maximum_latitude": {
            "type": "number",
            "description": "Enter maximum latitude."
        },
        "minimum_longitude": {
            "type": "number",
            "description": "Enter minimum longitude."
        },
        "maximum_longitude": {
            "type": "number",
            "description": "Enter maximum longitude."
        },
        "quantity": {
            "type": "number",
            "description": "Enter coordinates."
        },
        "decimals": {
            "type": "number",
            "description": "Enter decimal places."
        }
    },
    "required": [
        "minimum_latitude",
        "maximum_latitude",
        "minimum_longitude",
        "maximum_longitude",
        "quantity",
        "decimals"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

coordinates · array
Generated coordinates produced by the tool.
quantity · number
Coordinate count produced by the tool.
bounds · string
Applied bounds produced by the tool.
{
    "type": "object",
    "properties": {
        "coordinates": {
            "type": "array",
            "description": "Generated coordinates produced by the tool."
        },
        "quantity": {
            "type": "number",
            "description": "Coordinate count produced by the tool."
        },
        "bounds": {
            "type": "string",
            "description": "Applied bounds produced by the tool."
        }
    },
    "additionalProperties": false
}

Random Coordinate Generator worked example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/random-coordinate-generator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "minimum_latitude": -90,
    "maximum_latitude": 90,
    "minimum_longitude": -180,
    "maximum_longitude": 180,
    "quantity": 10,
    "decimals": 6
}'
{
    "ok": true,
    "data": {
        "slug": "random-coordinate-generator",
        "result": {
            "values": {
                "coordinates": [
                    {
                        "number": 1,
                        "latitude": 40.54702900000000198588168132118880748748779296875,
                        "longitude": -142.74669199999999591454979963600635528564453125
                    },
                    {
                        "number": 2,
                        "latitude": -53.4551909999999992351149558089673519134521484375,
                        "longitude": 17.1507390000000015106706996448338031768798828125
                    },
                    {
                        "number": 3,
                        "latitude": -79.285392000000001644366420805454254150390625,
                        "longitude": 21.368902999999999536839823122136294841766357421875
                    },
                    {
                        "number": 4,
                        "latitude": -87.7011150000000014870238373987376689910888671875,
                        "longitude": 71.8999069999999989022398949600756168365478515625
                    },
                    {
                        "number": 5,
                        "latitude": -22.8636249999999989768184605054557323455810546875,
                        "longitude": -111.141019999999997480699676088988780975341796875
                    },
                    {
                        "number": 6,
                        "latitude": -59.06995599999999768670022604055702686309814453125,
                        "longitude": 157.331893000000007987182470969855785369873046875
                    },
                    {
                        "number": 7,
                        "latitude": -14.884631999999999862893673707731068134307861328125,
                        "longitude": 105.4486040000000031113813747651875019073486328125
                    },
                    {
                        "number": 8,
                        "latitude": 73.0290629999999936217136564664542675018310546875,
                        "longitude": -178.818231999999994741301634348928928375244140625
                    }
                ],
                "quantity": 10,
                "bounds": "-90…90, -180…180"
            },
            "display": {
                "display": "[{\"number\":1,\"latitude\":40.54702900000000198588168132118880748748779296875,\"longitude\":-142.74669199999999591454979963600635528564453125},{\"number\":2,\"latitude\":-53.4551909999999992351149558089673519134521484375,\"longitude\":17.1507390000000015106706996448338031768798828125},{\"number\":3,\"latitude\":-79.285392000000001644366420805454254150390625,\"longitude\":21.368902999999999536839823122136294841766357421875},{\"number\":4,\"latitude\":-87.7011150000000014870238373987376689910888671875,\"longitude\":71.8999069999999989022398949600756168365478515625},{\"number\":5,\"latitude\":-22.8636249999999989768184605054557323455810546875,\"longitude\":-111.141019999999997480699676088988780975341796875},{\"number\":6,\"latitude\":-59.06995599999999768670022604055702686309814453125,\"longitude\":157.331893000000007987182470969855785369873046875},{\"number\":7,\"latitude\":-14.884631999999999862893673707731068134307861328125,\"longitude\":105.4486040000000031113813747651875019073486328125},{\"number\":8,\"latitude\":73.0290629999999936217136564664542675018310546875,\"longitude\":-178.818231999999994741301634348928928375244140625}]"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.