# lgtm.lol Premium Random LGTM Image

> lgtm.lol Premium Random LGTM Image is a paid API for AI agents from lgtm.lol, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns a random premium curated LGTM ('Looks Good To Me') image for use in code reviews or pull request approvals

## Facts

- Endpoint: GET https://lgtm.lol/api/premium/random
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lgtm-lol-premium-random-lgtm-image-6e4ba374
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ymhNN_lO16aKTvtFANqNt

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 lgtm-lol-premium-random-lgtm-image-6e4ba374
```

Example prompt: Grab me a random premium LGTM image from lgtm.lol to drop into my pull request approval comment.

## When to prefer this

Choose this endpoint when you want a curated, premium-quality LGTM image rather than a free or low-quality alternative. It is ideal for automated code review bots, developer tooling integrations, or any workflow that needs a random, entertaining approval image on demand without maintaining a local image library.

## Known failure modes

- Payment not provided or invalid x402 payment header — returns 402 Payment Required
- Network timeout or server unavailability — returns 5xx error
- Malformed request — returns 400 Bad Request
- No images available in premium pool — returns 404 or empty response

## How this service works

LGTM image #717

## Output

A random premium curated LGTM image (likely as a URL or binary image data) suitable for embedding in code review comments, pull request approvals, or developer chat messages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lgtm-lol-premium-random-lgtm-image-6e4ba374/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lgtm.lol](https://www.zero.xyz/host/lgtm.lol/llms.txt)
