Zum Inhalt springen
aYOUne
← Marktforschung API

PriceWatches

Singular: PriceWatch — Base-URL: https://research.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)

Jetzt ausprobieren beta

Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.

Beispiel-Response (aufgezeichnet) Beispiel

Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.

{
  "payload": {
    "_id": "6ad0ebcea5e0d79043c144a4",
    "_user": "5a76d07e2d8b3270ff6df587",
    "url": "https://www.manufactum.de/brennholztasche-segeltuch-a222165/",
    "title": "[abnahme] Brennholztasche",
    "currency": "EUR",
    "initialPrice": 99.9,
    "price": 89.9,
    "targetPrice": 80,
    "active": false,
    "source": "api",
    "createdBy": "5a76d07e2d8b3270ff6df587",
    "shares": [],
    "createdAt": "2026-10-15T15:05:50.321Z",
    "updatedAt": "2026-10-16T00:09:28.854Z",
    "checkFailures": 0,
    "lastCheckedAt": "2026-10-16T00:03:44.412Z",
    "modifiedBy": "5a76d07e2d8b3270ff6df587",
    "history": [
      {
        "at": "2026-10-15T18:05:18.434Z",
        "price": 89.9,
        "shares": []
      },
      {
        "at": "2026-10-16T00:03:44.412Z",
        "price": 89.9,
        "shares": []
      }
    ],
    "lastChangeAt": "2026-10-16T00:03:44.412Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://research.ayoune.app/pricewatches/6ad0ebcea5e0d79043c144a4",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Products",
        "title": "MODEL_PRODUCT",
        "href": "https://api.ayoune.app/pim/products",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pim.products"
      }
    ],
    "debugId": "6ad45176fc1a500b7550e5a9",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_PRICEWATCH",
        "href": "https://api.ayoune.app/research/pricewatches/6ad0ebcea5e0d79043c144a4/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_PRICEWATCH",
        "href": "https://api.ayoune.app/research/pricewatches/6ad0ebcea5e0d79043c144a4",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.16.0",
      "core": "2026.378.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9757",
      "reset": "1792302638",
      "resetDate": "Sun Oct 18 2026"
    },
    "responseTime": 29.945144,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /pricewatches Liste mit Filtern/Paginierung research.pricewatches.view
GET /pricewatches/:id Einzelner Datensatz research.pricewatches.view
POST /pricewatches Neuen Datensatz erstellen research.pricewatches.new
PUT /pricewatches Datensatz aktualisieren research.pricewatches.edit
DELETE /pricewatches/:id Datensatz löschen research.pricewatches.delete

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// Alle abrufen
const list = await ay.research.priceWatches.find().limit(10).exec();

// Einzelnen Datensatz
const one = await ay.research.priceWatches.findById('OBJECT_ID').exec();

// Erstellen
const created = await ay.research.priceWatches.create({ name: 'Foo' });

Weiterführend