Developer Portal › API Reference

REST API Reference

All endpoints are versioned under /api/v1/. Base URL: https://api.nesika.ai

Public endpoints

Product search and market insights require no authentication

Authenticated endpoints

Pass your key in the X-API-Key header

Market Insights

Aggregate market intelligence across categories and vendors. No authentication required.

GET/api/v1/insights/marketPublic

Get market-level pricing insights for a category or keyword

Parameters

NameTypeRequiredDescription
qstringoptionalKeyword or category to analyse
categorystringoptionalProduct category filter

Example Request

curl "https://api.nesika.ai/api/v1/insights/market?category=smartphones"

Response Shape

{
  "data": {
    "category": "smartphones",
    "totalProducts": 1842,
    "avgPrice": 899.00,
    "priceRange": { "min": 299.00, "max": 3499.00 },
    "topVendors": ["kogan", "jbhifi", "amazon"],
    "priceTrend": "declining",
    "periodStart": "2024-02-15",
    "periodEnd": "2024-03-15"
  }
}

Customer Data

Access your workspace's tracked products, competitive positioning, scan results, and pricing insights. Requires API key authentication.

GET/api/v1/me/productsAPI Key

List your workspace's tracked products

Parameters

NameTypeRequiredDescription
querystringoptionalSearch within your tracked products
statusstringoptionalFilter by status: tracked (default), paused, or all
pageintegeroptionalPage number
pageSizeintegeroptionalResults per page — default 20, max 100

Example Request

curl -H "X-API-Key: nes_your_key_here" \
  "https://api.nesika.ai/api/v1/me/products"

Response Shape

{
  "data": {
    "products": [
      {
        "id": "my_prod_xyz",
        "name": "Samsung 65\" QLED TV",
        "sku": "UA65QN900D",
        "price": 3499.00,
        "currency": "AUD",
        "tracked": true,
        "lastScannedAt": "2024-03-15T08:00:00Z"
      }
    ],
    "total": 15,
    "page": 1,
    "pageSize": 20
  }
}
GET/api/v1/me/products/{id}/positionAPI Key

Get competitive price positioning for one of your products

Parameters

NameTypeRequiredDescription
idstringrequiredYour tracked product ID
timeframestringoptionalAnalysis window: 7d, 30d (default), or 90d

Example Request

curl -H "X-API-Key: nes_your_key_here" \
  "https://api.nesika.ai/api/v1/me/products/my_prod_xyz/position?timeframe=30d"

Response Shape

{
  "data": {
    "productId": "my_prod_xyz",
    "yourPrice": 3499.00,
    "rank": 2,
    "total": 8,
    "lowestCompetitorPrice": 3299.00,
    "lowestCompetitorVendor": "jbhifi",
    "priceGap": 200.00,
    "priceGapPercent": 5.7
  }
}
GET/api/v1/me/scansAPI Key

List recent price scans for your workspace

Parameters

NameTypeRequiredDescription
limitintegeroptionalMax scans to return — default 10, max 50
statusstringoptionalFilter by status: completed, in_progress, failed, or all

Example Request

curl -H "X-API-Key: nes_your_key_here" \
  "https://api.nesika.ai/api/v1/me/scans?limit=5"

Response Shape

{
  "data": {
    "scans": [
      {
        "id": "scan_abc123",
        "status": "completed",
        "startedAt": "2024-03-15T07:00:00Z",
        "completedAt": "2024-03-15T07:42:00Z",
        "productsScanned": 15,
        "priceChangesDetected": 3
      }
    ]
  }
}
GET/api/v1/me/insights/summaryAPI Key

Get a summary of pricing insights for your workspace

Parameters

NameTypeRequiredDescription
timeframestringoptionalAnalysis window: 7d, 30d (default), or 90d

Example Request

curl -H "X-API-Key: nes_your_key_here" \
  "https://api.nesika.ai/api/v1/me/insights/summary"

Response Shape

{
  "data": {
    "totalTrackedProducts": 15,
    "productsBeingUndercut": 4,
    "productsWithOpportunities": 6,
    "avgPriceGap": -3.2,
    "largestUndercutPercent": 12.4,
    "periodStart": "2024-02-15",
    "periodEnd": "2024-03-15"
  }
}

MCP Server Tools Reference

The Nesika MCP server exposes 12 tools covering all endpoints above, optimised for natural language access via AI agents. See the full tool reference in the in-app docs.

View MCP Tools Reference
Logos provided by Logo.dev