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-07-27T01:16:18.962Z",
  "created_at": "2024-07-27T01:16:18.962Z",
  "error": "0GHIP",
  "id": "d8a570c8-f0b7-4087-a492-1c91d275c50a",
  "input": 14,
  "input_unit": "hertz",
  "output": 25,
  "output_unit": "millihertz",
  "started_at": "2024-07-27T01:16:18.962Z",
  "status": "completed",
  "updated_at": "2024-07-27T01:16:18.962Z",
  "user_id": "984d9fa6-97e5-4545-90a0-4480ec923858"
}