# Forgemesh Photon Energy Converter

> Forgemesh Photon Energy 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 electromagnetic wavelength (nm), frequency (Hz), photon energy in joules, and photon energy in electron-volts using exact physical constants

## Facts

- Endpoint: POST https://x402.forgemesh.io/photon-energy
- 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-photon-energy-converter-2ac219ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rUWLv0YApJgzcOY42LjwM

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-photon-energy-converter-2ac219ff -d '<json body>'
```

Example prompt: What is the photon energy in joules and electron-volts for 532 nm green laser light, and what frequency does that correspond to?

## When to prefer this

Use this endpoint when you need to convert between wavelength, frequency, and photon energy with exact physical constants — ideal for optics, spectroscopy, physics simulations, or astronomy agents that need precise quantum energy calculations rather than approximate lookups.

## Known failure modes

- Missing both frequency_hz and wavelength_nm — endpoint requires at least one input
- Non-numeric string values for wavelength or frequency result in computation error
- Wavelength or frequency values of zero or negative numbers are physically invalid
- Extremely large or small values outside practical electromagnetic spectrum range may cause precision issues

## How this service works

Photon energy API: convert between electromagnetic wavelength (nm), frequency (Hz), and photon energy (joules and electron-volts) using exact physical constants (c, Planck's h). Give a wavelength or a frequency and get the full set. For optics, spectroscopy, physics, and astronomy agents.

## Output

Returns the complete set of electromagnetic properties for the given input: wavelength in nm, frequency in Hz, photon energy in joules, and photon energy in electron-volts, all computed using exact physical constants (speed of light c and Planck's constant h).

## 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-photon-energy-converter-2ac219ff/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)
