انتقل إلى المحتوى
DZ Ecommerce

الواجهة البرمجية ووكلاء الذكاء الاصطناعي

اقرأ دي زد إيكومرس من برامجك أو وكلاء الذكاء الاصطناعي: صفحات Markdown وواجهة JSON وخادم MCP والخلاصات. لا حاجة إلى مصادقة.

Markdown for every page

Send an Accept header or append .md to any URL. Responses carry YAML front matter (canonical URL, language, dates, alternates) and an x-markdown-tokens header.

curl -H "Accept: text/markdown" https://dzecommerce.com/ar
curl https://dzecommerce.com/ar/index.md

JSON API

Read-only, unauthenticated, CORS-enabled. Paths in responses are site-relative.

GET https://dzecommerce.com/api/v1/articles?locale=ar&limit=10
GET https://dzecommerce.com/api/v1/search?locale=ar&q=delivery
GET https://dzecommerce.com/api/v1/articles/{locale}/{category}/{slug}
GET https://dzecommerce.com/api/v1/categories?locale=ar
GET https://dzecommerce.com/api/v1/companies?locale=ar&type=carrier
GET https://dzecommerce.com/api/v1/companies/{locale}/{slug}
GET https://dzecommerce.com/api/v1/authors/{locale}/{slug}

Full schema: /openapi.json

MCP server

Streamable HTTP endpoint, stateless, no authentication. Tools:

  • search_articles — Full-text search across published DZ Ecommerce news articles in Arabic, French or English. Returns titles, URLs, dates and excerpts.
  • get_article — Fetch one article (full Markdown body, authors, tags, companies, alternates) by URL or by locale + category + slug.
  • list_latest — List the most recent articles in a locale, optionally filtered by category, tag, author or company.
  • list_categories — List the editorial sections (ecommerce, shipping & logistics, marketplaces, payments, tools…) in a locale.
  • list_companies — List profiled companies (carriers, logistics, marketplaces, payment providers, tools) with type and profile URL.
  • get_company — Fetch a company profile (description, website, location, founding year, services, recent coverage).
  • get_author — Fetch a journalist profile (bio, job title, social profiles) and their latest articles.
{
  "mcpServers": {
    "dzecommerce": { "type": "http", "url": "https://dzecommerce.com/mcp" }
  }
}

Discovery documents

Usage

Content Signals: search=yes, ai-input=yes, ai-train=yes. Please cite the canonical article URL and respect Retry-After on HTTP 429.