Skip to main content

    Plant.pk AI API

    An open, AI-friendly API exposing Plant.pk's catalog, content, and plant knowledge. Built for LLMs, agents, and assistants. All endpoints are served from https://api.plant.pk. The canonical namespace is /v1/*. Root-mounted paths (e.g. /products) remain as aliases, and legacy /api/ai/* paths keep working but emit a Deprecation response header — please prefer /v1/* for new integrations.

    Quick links

    Endpoints

    Discovery manifest summarizing all AI-accessible endpoints.

    OpenAI-compatible AI plugin manifest.

    Full OpenAPI 3 specification for the Plant.pk AI API.

    Complete structured knowledge export (products, categories, FAQs, policies).

    List active products with pricing and stock.

    Single product details by slug.

    All active categories and subcategories.

    Published gardening blog posts and guides.

    Frequently asked questions across the platform.

    Plant care knowledge base entries.

    Shipping, return, refund, privacy and other policies.

    Search across products, categories and content.

    Live inventory snapshot for available products.

    Curated plant recommendations (filterable by indoor/outdoor/light/care).

    Ask a natural-language plant or product question.

    Delivery zones, fees, and ETA information.

    XML sitemap index for the entire site (incl. AI endpoints).

    Usage

    All endpoints are GET, return JSON (except sitemap.xml), are CORS-enabled, and require no API key. Responses include an X-API-Version header; idempotent endpoints (categories, FAQs, policies, plant-care, manifest, OpenAPI) are edge-cached with stale-while-revalidate. Please be respectful and cache responses on your side where possible.