# x402.forgemesh.io Wavelength-Frequency Converter

> x402.forgemesh.io Wavelength-Frequency Converter is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Converts between light wavelength (nm), frequency (Hz), and photon energy (joules and eV) using exact physical constants.

## Facts

- Endpoint: POST https://x402.forgemesh.io/wavelength-frequency
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-forgemesh-io-wavelength-frequency-converter-d7566e2b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1_1Ntl4a0D-1k8dp9Zxa4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-forgemesh-io-wavelength-frequency-converter-d7566e2b -d '<json body>'
```

Example prompt: What's the frequency and photon energy (in both joules and eV) for light with a wavelength of 532 nm?

## When to prefer this

Choose this endpoint when you need precise, physics-accurate conversions between light wavelength, frequency, and photon energy using exact constants (speed of light, Planck's constant). Ideal for optics, spectroscopy, photonics, and any scientific calculation involving electromagnetic radiation in the optical spectrum.

## Known failure modes

- Missing both inputs (neither wavelength_nm nor frequency_hz provided) returns an error
- Non-numeric string values for wavelength or frequency cause a validation error
- Zero or negative wavelength/frequency values are physically invalid and may return an error
- Extremely large or small values outside physical range may produce overflow or underflow

## How this service works

Wave physics API: convert between light wavelength (nm), frequency (Hz), and photon energy (joules and eV). Uses exact physical constants.

## Output

Returns the computed counterpart values: given a wavelength the agent receives frequency in Hz plus photon energy in joules and eV; given a frequency the agent receives wavelength in nm plus photon energy in both units — all calculated using exact physical constants.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "frequency_hz": {
   "type": "string"
  },
  "wavelength_nm": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "frequency_hz": 599584916000000,
  "photon_energy_ev": 2.479685
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-forgemesh-io-wavelength-frequency-converter-d7566e2b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
