API → UnitConvert frequency units

Parameters

Name

Type

Req.

  • input_unit

    string
    required
    Possible values
    • gigahertz:  Gigahertz <https://en.wikipedia.org/wiki/Hertz>
    • hertz:  Hertz <https://en.wikipedia.org/wiki/Hertz>
    • kilohertz:  Kilohertz <https://en.wikipedia.org/wiki/Hertz>
    • megahertz:  Megahertz <https://en.wikipedia.org/wiki/Hertz>
    • microhertz:  Microhertz <https://en.wikipedia.org/wiki/Hertz>
    • millihertz:  Millihertz <https://en.wikipedia.org/wiki/Hertz>
    • nanohertz:  Nanohertz <https://en.wikipedia.org/wiki/Hertz>
    • terahertz:  Terahertz <https://en.wikipedia.org/wiki/Hertz>
  • output_unit

    string
    required
    Possible values
    • gigahertz:  Gigahertz <https://en.wikipedia.org/wiki/Hertz>
    • hertz:  Hertz <https://en.wikipedia.org/wiki/Hertz>
    • kilohertz:  Kilohertz <https://en.wikipedia.org/wiki/Hertz>
    • megahertz:  Megahertz <https://en.wikipedia.org/wiki/Hertz>
    • microhertz:  Microhertz <https://en.wikipedia.org/wiki/Hertz>
    • millihertz:  Millihertz <https://en.wikipedia.org/wiki/Hertz>
    • nanohertz:  Nanohertz <https://en.wikipedia.org/wiki/Hertz>
    • terahertz:  Terahertz <https://en.wikipedia.org/wiki/Hertz>
  • value

    number
    required

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • completed_at

      string / ISO-8601
      optional
    • created_at

      string / ISO-8601
      optional
    • error

      string
      optional
    • id

      string / UUID
      optional
    • input

      number
      optional
    • input_unit

      string
      optional
      Possible values
      • gigahertz:  Gigahertz <https://en.wikipedia.org/wiki/Hertz>
      • hertz:  Hertz <https://en.wikipedia.org/wiki/Hertz>
      • kilohertz:  Kilohertz <https://en.wikipedia.org/wiki/Hertz>
      • megahertz:  Megahertz <https://en.wikipedia.org/wiki/Hertz>
      • microhertz:  Microhertz <https://en.wikipedia.org/wiki/Hertz>
      • millihertz:  Millihertz <https://en.wikipedia.org/wiki/Hertz>
      • nanohertz:  Nanohertz <https://en.wikipedia.org/wiki/Hertz>
      • terahertz:  Terahertz <https://en.wikipedia.org/wiki/Hertz>
    • output

      number
      optional
    • output_unit

      string
      optional
      Possible values
      • gigahertz:  Gigahertz <https://en.wikipedia.org/wiki/Hertz>
      • hertz:  Hertz <https://en.wikipedia.org/wiki/Hertz>
      • kilohertz:  Kilohertz <https://en.wikipedia.org/wiki/Hertz>
      • megahertz:  Megahertz <https://en.wikipedia.org/wiki/Hertz>
      • microhertz:  Microhertz <https://en.wikipedia.org/wiki/Hertz>
      • millihertz:  Millihertz <https://en.wikipedia.org/wiki/Hertz>
      • nanohertz:  Nanohertz <https://en.wikipedia.org/wiki/Hertz>
      • terahertz:  Terahertz <https://en.wikipedia.org/wiki/Hertz>
    • started_at

      string / ISO-8601
      optional
    • status

      string
      optional
      Possible values
      • queued:  The async API call is queued.
      • uploaded:  The async API call was uploaded to be converted.
      • in_progress:  The async API call is in progress.
      • completed:  The async API call has completed.
      • failed:  The async API call has failed.
    • updated_at

      string / ISO-8601
      optional
    • user_id

      string / UUID
      optional
get
/unit/conversion/frequency/{input_unit}/{output_unit}
$ curl "https://api.zoo.dev/unit/conversion/frequency/{input_unit}/{output_unit}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2024-06-27T16:11:20.701Z",
  "created_at": "2024-06-27T16:11:20.701Z",
  "error": "Q76VAJJ1ksH9B6j1D",
  "id": "e365e901-7683-442b-951d-c7840a534285",
  "input": 3,
  "input_unit": "hertz",
  "output": 21,
  "output_unit": "millihertz",
  "started_at": "2024-06-27T16:11:20.701Z",
  "status": "in_progress",
  "updated_at": "2024-06-27T16:11:20.701Z",
  "user_id": "d3334c9f-24c8-4179-9bcc-c55618037746"
}