Skip to main content
API.md
REST API

# API Documentation

Access SkillsMP Skills data programmatically through our REST API. Support keyword search and AI semantic search.

Authentication
Endpoints

GET /api/v1/skills/search

Search skills using keywords

ParameterTypeRequiredDescription
qstringโœ“Search query
pagenumber-Page number (default: 1)
limitnumber-Items per page (default: 20, max: 100)
sortBystring-Sort: stars | recent

GET /api/v1/skills/ai-search

AI semantic search powered by Cloudflare AI

ParameterTypeRequiredDescription
qstringโœ“AI search query
Code Examples

Keyword Search

curl -X GET "https://skillsmp.com/api/v1/skills/search?q=SEO" \
  -H "Authorization: Bearer sk_live_your_api_key"

AI Semantic Search

curl -X GET "https://skillsmp.com/api/v1/skills/ai-search?q=How+to+create+a+web+scraper" \
  -H "Authorization: Bearer sk_live_your_api_key"
Error Handling

The API uses standard HTTP status codes and returns error details in JSON format.

Error CodeHTTPDescription
MISSING_API_KEY401API key not provided
INVALID_API_KEY401Invalid API key
MISSING_QUERY400Missing required query parameter
INTERNAL_ERROR500Internal server error

Error Response Example:

json
{
  "success": false,
  "error": {
    "code": "INVALID_API_KEY",
    "message": "The provided API key is invalid"
  }
}