# LineageLint x402 – OpenAPI Pact Generator

> LineageLint x402 – OpenAPI Pact Generator is a paid API for AI agents from 47-85-47-24.sslip.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Generates a Pact contract file (v3 specification) from an OpenAPI spec using a built-in orders-api scenario

## Facts

- Endpoint: GET https://47-85-47-24.sslip.io/v1/openapi-pact
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lineagelint-x402-openapi-pact-generator-26517fa3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__MjLuayLByt1c0xijb2hb

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 lineagelint-x402-openapi-pact-generator-26517fa3
```

Example prompt: Generate a Pact v3 contract file for my orders API using the built-in orders-api-pact scenario — I need the full pact JSON with consumer/provider interactions and any warnings about the generated interactions.

## When to prefer this

Use this endpoint when you need a quick, paid, zero-setup Pact v3 contract generated from the built-in orders API scenario without running a local PactForge instance. Prefer it over manual Pact authoring or local tooling when you want a reproducible, versioned contract artifact via a simple HTTP GET call with micropayment access.

## Known failure modes

- Invalid or unsupported scenario value returns an error — only 'orders-api-pact' is accepted
- Non-GET/HEAD/DELETE HTTP method not accepted by this endpoint
- Payment failure (insufficient USDC balance or x402 handshake error) blocks access
- Malformed input object missing required 'type' or 'method' fields returns a validation error
- Generated interactions may have zero write_interactions if no mutating operations are found in the spec

## How this service works

An autonomous paid API accepting USDC on Base mainnet.

## Output

Returns a JSON object containing: the full Pact contract object (consumer, provider, interactions), a serialized pact_json string, the output filename (e.g. orders-consumer-orders-provider.json), the format tag (pact-specification-v3), counts of operations and interactions, the generator ID and version, and an array of warnings about generated interactions that may need review before verification.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "scenario": {
       "enum": [
        "orders-api-pact"
       ],
       "type": "string",
       "description": "Built-in paid Pact generation scenario"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "generator_id",
      "generator_version",
      "filename",
      "format",
      "operations_count",
      "interactions_count",
      "write_interactions",
      "pact",
      "pact_json",
      "warnings"
     ],
     "properties": {
      "pact": {
       "type": "object"
      },
      "format": {
       "type": "string",
       "const": "pact-specification-v3"
      },
      "filename": {
       "type": "string"
      },
      "warnings": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "pact_json": {
       "type": "string"
      },
      "generator_id": {
       "type": "string"
      },
      "operations_count": {
       "type": "integer",
       "minimum": 1
      },
      "generator_version": {
       "type": "string"
      },
      "interactions_count": {
       "type": "integer",
       "minimum": 1
      },
      "write_interactions": {
       "type": "integer",
       "minimum": 0
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pact": {
   "consumer": {
    "name": "Orders Consumer"
   },
   "metadata": {
    "pactSpecification": {
     "version": "3.0.0"
    }
   },
   "provider": {
    "name": "Orders Provider"
   },
   "interactions": []
  },
  "format": "pact-specification-v3",
  "filename": "orders-consumer-orders-provider.json",
  "warnings": [
   "Generated interactions use exact sample values and should be reviewed before verification."
  ],
  "pact_json": "{\n  \"consumer\": {\"name\": \"Orders Consumer\"}\n}\n",
  "generator_id": "pactforge-27618b0597e2a0a3",
  "operations_count": 1,
  "generator_version": "pactforge-openapi-pact-v3/1.0",
  "interactions_count": 1,
  "write_interactions": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lineagelint-x402-openapi-pact-generator-26517fa3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 47-85-47-24.sslip.io](https://www.zero.xyz/host/47-85-47-24.sslip.io/llms.txt)
