Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By laurigatesv2.0.1MITIn 1 marketplace
Writes and runs API tests for REST endpoints, covering auth flows, error handling and response validation with Supertest or httpx and pytest. Contract-testing setup is handled by a separate configure-plugin command, not this one.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
1 marketplace, most starred first
api-testing, supertest, httpx, pytest, integration-testing, endpoint-testing, api, rest ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A comprehensive Claude Code plugin for API integration and testing, providing specialized agents, skills, and commands for working with REST APIs.
The API Plugin provides tools for:
api-testingExpert knowledge for HTTP API testing with Supertest (TypeScript/JavaScript) and httpx/pytest (Python).
Covers:
Technologies:
Setting up the contract-testing infrastructure (Pact, OpenAPI validation, schema testing, breaking-change CI) is
configure-plugin:configure-api-tests(/configure:api-tests). This plugin previously shipped a duplicateapi-testsskill; it was removed in favor of the canonical configure skill.
Install this plugin in your Claude Code environment:
# From the plugin directory
cd /path/to/api-plugin
# The plugin is now available to Claude Code
The skill is automatically activated when discussing API testing:
How do I test a REST API endpoint with authentication using Supertest?
Or explicitly:
Using the api-testing skill, show me how to test file uploads in FastAPI
Use the canonical configure skill (from configure-plugin):
/configure:api-tests --check-only
/configure:api-tests --fix
/configure:api-tests --fix --type pact
Consumer-driven contracts for microservices.
When to use:
Setup includes:
Validate requests and responses against OpenAPI specification.
When to use:
Setup includes:
JSON Schema or Zod validation for API responses.
When to use:
Setup includes:
import { describe, it, expect } from 'vitest'
import request from 'supertest'
import { app } from './app'
describe('Users API', () => {
it('creates a new user', async () => {
const response = await request(app)
.post('/api/users')
.send({ name: 'John Doe', email: '[email protected]' })
.expect(201)
expect(response.body).toMatchObject({
id: expect.any(Number),
name: 'John Doe',
email: '[email protected]',
})
})
it('requires authentication', async () => {
await request(app)
.get('/api/protected')
.expect(401)
await request(app)
.get('/api/protected')
.set('Authorization', 'Bearer valid-token')
.expect(200)
})
})
import pytest
from fastapi.testclient import TestClient
from main import app
@pytest.fixture
def client():
return TestClient(app)
def test_create_user(client):
response = client.post(
"/api/users",
json={"name": "John Doe", "email": "[email protected]"}
)
assert response.status_code == 201
data = response.json()
assert data["name"] == "John Doe"
def test_authentication(client):
# Without token
response = client.get("/api/protected")
assert response.status_code == 401
# With token
response = client.get(
"/api/protected",
headers={"Authorization": "Bearer valid-token"}
)
assert response.status_code == 200
import { PactV4, MatchersV3 } from '@pact-foundation/pact';
const { like, regex, datetime } = MatchersV3;
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub laurigates/claude-plugins --plugin api-pluginPlugins from other owners that cover similar ground