Learn how to publish your lexicon schemas to the AT Protocol Schema Registry and integrate with the indexing API.
Lexicon Store is a public registry for AT Protocol lexicon schemas. It automatically indexes schemas published to the network and provides a searchable interface for discovery.
There are two ways to get your lexicons indexed:
Queue a lexicon for indexing. DNS authority verification is performed automatically.
{
"type": "nsid" | "did" | "domain",
"value": "string"
}
nsid - Index a specific lexicon (e.g., app.bsky.feed.post)did - Index all lexicons from a DID (e.g., did:plc:xyz...)domain - Index all lexicons from a domain (e.g., bsky.app)curl -X POST https://api.lexicon.store/requestIndex \
-H "Content-Type: application/json" \
-d '{"type": "nsid", "value": "com.example.myLexicon"}'
{
"success": true,
"message": "Queued for indexing"
}
For a lexicon to be indexed, the publisher must have authority over the NSID namespace. This is verified through DNS:
com.example.myLexicon requires authority over example.com_atproto.example.com pointing to your DIDOnce indexed, your lexicons will appear in the registry and can be viewed at:
https://pdsls.dev/at://did:web:lexicon.store/com.atproto.lexicon.schema/{nsid}https://atpi.at://did:web:lexicon.store/com.atproto.lexicon.schema/{nsid}Learn more about publishing lexicons: