# lobre.lat JavaScript/TypeScript/JSX Syntax Validator

> lobre.lat JavaScript/TypeScript/JSX Syntax Validator is a paid API for AI agents from lobre.lat, paid per call via x402, $0.03/call, status down (last checked 2026-09-15).

Validates JavaScript, TypeScript, or JSX source code syntax and returns parse errors

## Facts

- Endpoint: POST https://lobre.lat/api/v1/coding/cache/syntax-heartbeat
- Price: $0.03/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lobre-lat-javascript-typescript-jsx-syntax-validator-8d907271
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CJoTSXItJGQEL3gqTpc_2

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 lobre-lat-javascript-typescript-jsx-syntax-validator-8d907271 -d '<json body>'
```

Example prompt: Can you check this TypeScript snippet for syntax errors? Here's the code: `const x: number = 'hello'; function foo( { return x; }`

## When to prefer this

Use this endpoint when you need a lightweight, on-demand syntax check for JavaScript, TypeScript, or JSX code without running a full linter or compiler. Ideal for agents that need to quickly validate user-submitted code snippets or pre-flight check code before execution or further processing.

## Known failure modes

- Empty code string — may return no errors or an error indicating no input
- Extremely large code files may hit payload limits
- Network timeout if the service is temporarily unavailable
- 402 Payment Required if USDC payment is not provided
- Malformed request body returns 400 error

## How this service works

Validate JavaScript/TypeScript/JSX syntax and return parse errors.

## Output

Returns parse errors found in the submitted JS/TS/JSX source code, including error messages and likely positions of syntax issues, or confirmation that the code is syntactically valid

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "code": {
   "type": "string",
   "description": "JS/TS/JSX source code to validate syntax"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lobre-lat-javascript-typescript-jsx-syntax-validator-8d907271/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lobre.lat](https://www.zero.xyz/host/lobre.lat/llms.txt)
