---
title: "Elixir lint / debug kit"
method: POST
path: "/api/lint/elixir"
tags: ["Dev Tools"]
---

# Elixir lint / debug kit

`POST /api/lint/elixir`

## Request

- Base URL: `https://api.webbersites.com`
- URL: `https://api.webbersites.com/api/lint/elixir`
- Auth: API key in header `X-PAYMENT`

Elixir lint / debug kit: POST {code}, get the bugs back with line numbers. Deterministic static analysis — code is parsed, never executed, no AI. Catches unbalanced do/end and brackets, missing do, 'return', '+' string concat, trailing commas, field assignment, = vs == in conditions and guards, block-scoped rebinding (the classic), charlist vs String mixups, unused variables. Errors, warnings and hints with fixes. Max 128 KB.

Price: $0.002 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

## Request body

- object
  - `code` string, required: Elixir source to lint, max 128 KB

## Response `200`

Success

- object
  - `language` string
  - `syntax` object
  - `issues` unknown[]
    - unknown
  - `counts` object
  - `verdict` string

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
