← All tool references

Finance · not_available

Dividend Yield Calculator

Calculate dividend yield from annual dividends and share price.

Open public tool

Overview

Category
Finance
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/dividend-yield-calculator

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/dividend-yield-calculator/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.

annual_dividend · number · required
Enter annual dividend per share for this calculation.
share_price · number · required
Enter share price for this calculation.
{
    "type": "object",
    "properties": {
        "annual_dividend": {
            "type": "number",
            "description": "Enter annual dividend per share for this calculation.",
            "minimum": 0
        },
        "share_price": {
            "type": "number",
            "description": "Enter share price for this calculation.",
            "minimum": 0
        }
    },
    "required": [
        "annual_dividend",
        "share_price"
    ],
    "additionalProperties": false
}

Output schema

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

dividend_yield · number
Dividend yield calculated by the tool.
quarterly_dividend · number
Quarterly dividend calculated by the tool.
income_on_investment · number
Income on entered investment calculated by the tool.
{
    "type": "object",
    "properties": {
        "dividend_yield": {
            "type": "number",
            "description": "Dividend yield calculated by the tool."
        },
        "quarterly_dividend": {
            "type": "number",
            "description": "Quarterly dividend calculated by the tool."
        },
        "income_on_investment": {
            "type": "number",
            "description": "Income on entered investment calculated by the tool."
        }
    },
    "additionalProperties": false
}

Dividend Yield Calculator 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/dividend-yield-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "annual_dividend": 3.20000000000000017763568394002504646778106689453125,
    "share_price": 80
}'
{
    "ok": true,
    "data": {
        "slug": "dividend-yield-calculator",
        "result": {
            "values": {
                "dividend_yield": 4,
                "quarterly_dividend": 0.8000000000000000444089209850062616169452667236328125,
                "income_on_investment": 40
            },
            "display": {
                "display": "4"
            },
            "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.