AI: Business 20 credits LLM

Contract Summary API

Summarize contract key terms, obligations, and risks. Available as a simple REST API — POST your input, get structured JSON back. 20 credits per call, no rate limiting, works in any language with HTTP support.

Try it live →

How it works

POST a JSON object with your input data to /v1/llm-contract-summarize. The API processes your request server-side using real computation (not mocked data) and returns a structured JSON response with your results and metadata including credits used and processing time.

Use cases

API Reference

POST https://slopshop.gg/v1/llm-contract-summarize
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Input parameters

ParameterTypeRequiredDescription
text string required The text to process with AI
options object optional Optional configuration (format, length, etc.)

Example response

{
  "data": {
    "result": "AI-generated result based on your input.",
    "model": "claude-3-5-sonnet",
    "tokens_used": 150
  },
  "meta": {
    "credits_used": 20,
    "engine": "real",
    "ms": 4
  }
}

Examples

Three real-world scenarios showing how developers use Contract Summary in production.

Example 1
Analyze text with Contract Summary
Submit a document or string for contract summary processing.
curl -X POST https://slopshop.gg/v1/llm-contract-summarize \
  -H "Authorization: Bearer $SLOPSHOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "This is a sample document or input text for processing."}'
Example 2
Process a customer message
Run contract summary on an incoming customer support message.
curl -X POST https://slopshop.gg/v1/llm-contract-summarize \
  -H "Authorization: Bearer $SLOPSHOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello, I need help with my account. I can't seem to log in and the password reset isn't working."}'
Example 3
Batch process content
Apply contract summary to a piece of marketing content.
curl -X POST https://slopshop.gg/v1/llm-contract-summarize \
  -H "Authorization: Bearer $SLOPSHOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Introducing our revolutionary product that transforms the way teams collaborate on complex projects."}'

Code examples

curl

curl -X POST https://slopshop.gg/v1/llm-contract-summarize \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input": "your data here"}'

Python

import requests

response = requests.post(
    "https://slopshop.gg/v1/llm-contract-summarize",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"input": "your data here"}
)
result = response.json()
print(result["data"])

Node.js

const response = await fetch("https://slopshop.gg/v1/llm-contract-summarize", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({ input: "your data here" })
});
const { data } = await response.json();
console.log(data);

CLI

# Install the Slopshop CLI
npm install -g slopshop

# Set your API key
export SLOPSHOP_KEY=your_api_key

# Call llm-contract-summarize
slop llm-contract-summarize '{"input": "your data here"}'

Pricing

Credits per call
20
credits
Cost per call
$0.02
at Starter tier
Tier
LLM
Requires LLM key

Credits are purchased in bundles starting at $1 for 1,000 credits. All compute APIs like this one use 20 credits per call — that's $0.02. See all pricing tiers.

Related APIs in AI: Business

View the full API catalog · Try in playground · Documentation