← All tool references

Converters · execute

Shoe Size Conversion

Compare an approximate shoe label across US men’s, US women’s, UK, EU, and centimeter chart values.

Open public tool

Overview

Category
Converters
API mode
execute
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/shoe-size-conversion

View this descriptor as JSON

Execute availability

This tool has an execute route defined by its descriptor. Server-side execution is currently unavailable, so requests return api_not_launched.

POST /api/v1/tools/shoe-size-conversion/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.

size · number · required
Enter the labeled shoe size from the sizing system selected below.
from_system · string · required
Choose the sizing system shown on the shoe label. Accepted values: us_men, us_women, uk, eu, cm.
to_system · string · required
Choose the sizing system you want to compare against. Accepted values: us_men, us_women, uk, eu, cm.
chart · string · optional
Bundled chart family. Accepted values: men, women.
{
    "type": "object",
    "properties": {
        "size": {
            "type": "number",
            "description": "Enter the labeled shoe size from the sizing system selected below."
        },
        "from_system": {
            "type": "string",
            "enum": [
                "us_men",
                "us_women",
                "uk",
                "eu",
                "cm"
            ],
            "description": "Choose the sizing system shown on the shoe label."
        },
        "to_system": {
            "type": "string",
            "enum": [
                "us_men",
                "us_women",
                "uk",
                "eu",
                "cm"
            ],
            "description": "Choose the sizing system you want to compare against."
        },
        "chart": {
            "type": "string",
            "enum": [
                "men",
                "women"
            ],
            "description": "Bundled chart family."
        }
    },
    "required": [
        "size",
        "from_system",
        "to_system"
    ],
    "additionalProperties": false
}

Output schema

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

converted_size · number
No field description is available.
from_system · string
No field description is available.
to_system · string
No field description is available.
chart · string
No field description is available.
equivalents · object
No field description is available.
{
    "type": "object",
    "properties": {
        "converted_size": {
            "type": "number"
        },
        "from_system": {
            "type": "string"
        },
        "to_system": {
            "type": "string"
        },
        "chart": {
            "type": "string",
            "enum": [
                "men",
                "women"
            ]
        },
        "equivalents": {
            "type": "object",
            "properties": {
                "us_men": {
                    "type": "number"
                },
                "us_women": {
                    "type": "number"
                },
                "uk": {
                    "type": "number"
                },
                "eu": {
                    "type": "number"
                },
                "cm": {
                    "type": "number"
                }
            },
            "required": [
                "us_men",
                "us_women",
                "uk",
                "eu",
                "cm"
            ],
            "additionalProperties": false
        }
    },
    "additionalProperties": false
}

US men’s 9 to EU

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/shoe-size-conversion/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "size": 9,
    "from_system": "us_men",
    "to_system": "eu",
    "chart": "men"
}'
{
    "ok": true,
    "data": {
        "slug": "shoe-size-conversion",
        "result": {
            "values": {
                "converted_size": 42.5,
                "from_system": "us_men",
                "to_system": "eu",
                "chart": "men",
                "equivalents": {
                    "us_men": 9,
                    "us_women": 10.5,
                    "uk": 8.5,
                    "eu": 42.5,
                    "cm": 27
                }
            },
            "display": {
                "display": "42.5"
            },
            "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.