# Lawmadi Agent discovery API

**Canonical:** https://apis.io/apis/lawmadi-com/lawmadi-com-agent-discovery-api/  
**Provider:** Lawmadi — https://apis.io/providers/lawmadi-com/  
**Base URL:** https://lawmadi.com  
**Documentation:** https://lawmadi.com/about

Lawmadi Agent discovery API is one of 4 APIs that [Lawmadi](https://apis.io/providers/lawmadi-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Agent Discovery. The published artifact set on APIs.io includes an OpenAPI specification.

The Agent discovery API from Lawmadi — 8 operation(s) for agent discovery.

## Operations (8)

| Method | Path | Summary |
|---|---|---|
| GET | `/.well-known/mcp.json` | MCP discovery document |
| GET | `/.well-known/oauth-authorization-server` | OAuth 2.0 authorization server metadata (RFC 8414) |
| GET | `/mcp/.well-known/oauth-protected-resource` | OAuth 2.0 protected resource metadata (RFC 9728) |
| GET | `/.well-known/agent-card.json` | A2A agent card |
| GET | `/.well-known/x402` | x402 machine-payment discovery |
| POST | `/oauth/register` | Dynamic client registration (RFC 7591) |
| POST | `/oauth/token` | Token endpoint — authorization_code (PKCE S256) and refresh_token |
| POST | `/a2a` | A2A JSON-RPC — message/send, tasks/get, tasks/cancel |

## Machine-readable artifacts (2)

- **OpenAPI** — https://artifacts.apis.io/lawmadi-com/openapi/lawmadi-com-agent-discovery-api-openapi.yml
- **APIsJSON** — https://artifacts.apis.io/lawmadi-com/apis.yml

## Other Lawmadi APIs (3)

- [Lawmadi Ask API](https://apis.io/apis/lawmadi-com/lawmadi-com-ask-api/)
- [Lawmadi Ask Stream API](https://apis.io/apis/lawmadi-com/lawmadi-com-ask-stream-api/)
- [Lawmadi Pricing API](https://apis.io/apis/lawmadi-com/lawmadi-com-pricing-api/)

## Tags

Agent Discovery

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/lawmadi-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/lawmadi-com/lawmadi-com-agent-discovery-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/lawmadi-com/.
