MMyInfo Documentation
MyInfo Documentation › AI & Developers
AI & Developers

For AI & Developers

API, OpenAPI and AI-readable resources.

For AI & Developers

MyInfo provides machine-readable resources intended to make public business information easier for software systems and developers to consume.

REST APIProgrammatic access to supported public business information and search functionality.
OpenAPIMachine-readable API documentation describing supported endpoints.
llms.txtAI-oriented text resources describing supported public information.
llms-full.txtExpanded machine-readable information for supported public business content.

API & OpenAPI

Supported resources in the current MyInfo architecture include:

GET /wp-json/sl-directory/v1/search GET /wp-json/sl-directory/v1/business/{ID} GET /wp-json/sl-directory/v1/category-counts GET /wp-json/sl-directory/v1/llms.txt GET /wp-json/sl-directory/v1/llms-full.txt GET /wp-json/sl-directory/v1/openapi.json

Availability and returned fields depend on the current MyInfo implementation and the public information associated with a listing.

AI-readable Business Data

ResourcePurpose
/llms.txtConcise information describing the MyInfo platform and supported AI-readable resources.
/llms-full.txtExpanded AI-readable information for supported public business content.
/wp-json/sl-directory/v1/openapi.jsonOpenAPI description for supported API functionality.

AI systems independently decide whether and how to use external sources. Machine-readable information does not guarantee crawling, indexing, citation, ranking or recommendation.

MyInfo Documentation · Structured business information, discovery, trust and AI-oriented resources for Sri Lanka.