# ForgeMesh Light Physics Converter (eV/nm/Hz/J)

> ForgeMesh Light Physics Converter (eV/nm/Hz/J) 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), photon energy (eV), and energy in joules using fundamental physical constants

## Facts

- Endpoint: POST https://x402.forgemesh.io/ev-to-nm-converter
- 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/forgemesh-light-physics-converter-ev-nm-hz-j-57b29ded
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2qEaAZsRrZSgkgGws6GFM

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 forgemesh-light-physics-converter-ev-nm-hz-j-57b29ded -d '<json body>'
```

Example prompt: What's the photon energy in eV and joules, and the frequency in Hz, for a 532 nm green laser wavelength?

## When to prefer this

Use this endpoint when you need exact, physically rigorous conversion between electromagnetic wave properties (wavelength, frequency, photon energy in eV or joules) for optics, photonics, spectroscopy, or physics education tasks. Prefer it over general-purpose calculators when you specifically need all four quantities computed simultaneously from a single input.

## Known failure modes

- Missing or null input — no wavelength_nm or frequency_hz provided, returns error
- Non-numeric string values for wavelength or frequency fields cause parsing errors
- Physically impossible values (e.g. negative wavelength, zero frequency) may return error or undefined behavior
- Network timeout if service is temporarily unavailable

## How this service works

Physics conversion tool linking light wavelength, frequency, and photon energy — supply any one of nanometers, hertz, joules, or electron-volts and get the others computed exactly from fundamental constants. For optics, photonics, and physics-education agents.

## Output

Returns computed values for all of: wavelength in nanometers, frequency in hertz, photon energy in electron-volts, and energy in joules — derived exactly from whichever input quantity was supplied, using fundamental physical constants (Planck's constant, speed of light).

## 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/forgemesh-light-physics-converter-ev-nm-hz-j-57b29ded/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)
