Resollo Products API

The Products API from Resollo — 3 operation(s) for products.

GitHub OpenAPI

Operations 4

GET /products Search product listings #
POST /products Start creating a product listing from photos #
POST /products/from-upload Create the draft listing from a direct upload #
GET /products/{id} Get full details for one product listing #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/resollo-com:resollo-com-products-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

resollo-com-products-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Resollo Agent Products API
  version: 1.0.0
  description: 'Structured JSON API for AI agents and browser-agent clients to search, inspect,

    (with an explicit, per-user API key) place orders on Resollo marketplace listings on

    a buyer''s behalf, and create new listings on a seller''s behalf from photos. `search_products`/`get_product` are unauthenticated discovery; `place_order` and

    `create_product` are authenticated writes. **`create_product` never generates listing content on the agent''s side.** It takes no

    content at all, not even the photos: it opens Resollo''s photo picker (`upload_url`), where

    the seller picks the photos themselves. Resollo''s own built-in AI (the same pipeline the web listing form''s

    "AI autofill" button uses) analyzes them and generates the title, description,

    category, condition, and a suggested price. The resulting listing is created

    `inactive` and never goes live automatically -- the seller must review and activate

    it themselves via their existing Resollo product-management page before it becomes

    visible or enters moderation. **`place_order` never does payment processing.** Resollo checkout has never routed

    payment through the platform -- sellers are paid off-platform by whatever method

    buyer and seller agree (cash included), and buyer protection is handled through the

    `payment_safety` messaging returned by this endpoint plus Resollo support, not a

    payment gateway. `place_order` creates an order record via the exact same backend

    path the web checkout form uses; it never introduces a payment token, a delegated

    payment authorization, or any payment-preparation step, and it never will -- this is

    a deliberate platform boundary, not a gap to fill in a later phase. Compare this to

    payment-carrying agent-commerce protocols like the Stripe/OpenAI Agentic Commerce

    Protocol or Google''s Agent Payments Protocol: this API deliberately omits their

    payment-credential layer entirely. **`place_order` requires human confirmation.** Its `confirm` field must be `true`,

    and an agent must only ever set it after the user has explicitly approved the order

    having seen the `payment_safety` text this API returns from `search_products` /

    `get_product` (via `place_order`''s own response once the order is placed -- an agent

    should surface the *would-be* payment safety text to the user before calling

    `place_order`, using the same `checkout.paymentSafety.*` copy). An agent must never

    call `place_order` on its own initiative. This API exposes only data that is already publicly readable on the Resollo

    website (via Postgres row-level security) and already published to AI crawlers as

    prose at `/[lang]/products/[id]/llms.txt` and in `Product` JSON-LD on every

    listing page. This API''s value-add over those is a stable, filterable,

    machine-parseable JSON contract with real query parameters and pagination. `search_products` and `get_product` remain unauthenticated, rate-limited per client

    IP. `place_order` requires an `Authorization: Bearer ` header -- a

    user generates this key from their Resollo profile page and gives it to their agent;

    it identifies exactly one Resollo user, and orders placed with it are attributed to

    that user. `place_order` is additionally rate-limited per authenticated key. **This document specs the REST surface only.** The same `agent_api_keys` bearer

    token also authenticates a remote MCP (Model Context Protocol) server at

    `https://resollo.com/api/mcp`, which additionally exposes offer negotiation

    (`offers.make`/`offers.respond`), order-lifecycle tools (`orders.status`,

    `orders.reject`, `orders.checkoutLink` -- the last only ever returns a Stripe checkout

    link, it never charges anything itself), product Q&A/reviews

    (`questions.ask`, `questions.list`, `reviews.list`), a public seller-profile lookup

    (`sellers.get`), and a marketplace taxonomy/metadata reference (`marketplace.info`). Those ten tools are MCP-only -- built on the same underlying business logic as the

    REST endpoints above, but with no REST path of their own, so they are not listed

    under `paths` below.'
  contact:
    url: https://resollo.com
servers:
- url: https://resollo.com/api/agent/v1
  description: Production
security: []
tags:
- name: Products
paths:
  /products:
    get:
      operationId: search_products
      summary: Search product listings
      description: 'Returns publicly visible, active listings matching the given filters. Results

        are always scoped to listings Postgres RLS already makes publicly readable

        (approved, active, non-expired, non-deleted) -- this endpoint can never return

        a hidden or moderation-pending listing.'
      parameters:
      - name: q
        in: query
        description: Free-text search across the listing's canonical name and description.
        schema:
          type: string
          minLength: 1
          maxLength: 200
      - name: category
        in: query
        description: Numeric category id. Subcategory ids are accepted but are rolled up to their top-level parent category in the response.
        schema:
          type: integer
          minimum: 1
      - name: price_min
        in: query
        description: Minimum price, in the resolved `currency` (converted price, not the seller's native listing currency).
        schema:
          type: number
          minimum: 0
      - name: price_max
        in: query
        description: Maximum price, in the resolved `currency`.
        schema:
          type: number
          minimum: 0
      - name: currency
        in: query
        description: 'ISO 4217 currency code used for `price_min`/`price_max` filtering and for each result''s `converted_price`. If omitted: the caller''s own currency when the request carries a valid agent API key; otherwise derived like on the website (the request''s country, then its Accept-Language), falling back to the marketplace default currency (`default_currency` of marketplace info, the same as the website''s). Must be one of the platform''s known currencies (400 `invalid_request` if the code is not 3 letters; a syntactically valid but unknown code is a distinct `invalid_request` as well, since this endpoint has no concept of a partially-supported currency).'
        schema:
          type: string
          pattern: ^[A-Za-z]{3}$
      - name: location
        in: query
        description: Comma-separated list of seller-location filters. Each entry is either a 2-letter ISO country code ("HU") or a "COUNTRY:REGION" pair ("HU:BU"). Location reflects the seller's profile location, not a per-listing field.
        schema:
          type: string
          maxLength: 200
        example: HU,DE:BE
      - name: seller_id
        in: query
        description: Restrict results to a single seller's listings. The uuid is the `seller.id` from any search or `get_product` response. Combine with the other filters (or use alone) to browse everything one seller currently offers.
        schema:
          type: string
          format: uuid
      - name: sort
        in: query
        schema:
          type: string
          enum:
          - newest
          - price_asc
          - price_desc
          default: newest
      - name: cursor
        in: query
        description: Opaque pagination cursor from a previous response's `next_cursor`.
        schema:
          type: string
          maxLength: 2000
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 50
          default: 20
      responses:
        '200':
          description: Search results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchProductsResponse'
        '400':
          $ref: '#/components/responses/InvalidRequest'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      tags:
      - Products
    post:
      operationId: create_product
      summary: Start creating a product listing from photos
      security:
      - AgentApiKey: []
      description: 'Starts a new listing FROM PHOTOS ONLY. The request carries no photos and no listing

        content: it checks the seller''s preconditions (plan listing slot, payment and

        shipment method, at least 2 AI credits) and returns `upload_url`, a Resollo page where

        the seller -- signed in on resollo.com -- picks 1 to `max_images` photos (phone gallery

        or camera works) -- or, for agents that can process the photo files themselves, upload

        them directly (see `direct_upload` in the response and `POST /products/from-upload`).

        Photos are never sent in this request.


        After the upload, Resollo''s own built-in AI (the same pipeline the web listing form''s

        "AI autofill" button uses) analyzes the photos and generates the title, description,

        category, condition, attributes, and a suggested price. The listing is created

        `inactive` and is NOT publicly visible or in the moderation queue; the upload page

        shows the seller the activation link, and the draft is also listed by the seller''s

        own listings on resollo.com. It only becomes visible once the seller activates it

        themselves -- this operation never publishes a listing automatically.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProductRequest'
      responses:
        '200':
          description: Photo upload opened for the seller.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhotoUploadSession'
        '400':
          $ref: '#/components/responses/InvalidRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      tags:
      - Products
  /products/from-upload:
    post:
      operationId: create_product_from_upload
      summary: Create the draft listing from a direct upload
      security:
      - AgentApiKey: []
      description: 'Finishes a direct upload opened with `create_product`: after you PUT the converted photos

        to its `direct_upload.put_urls`, call this with its `upload_id`. Resollo''s own AI writes the

        listing and creates it as an INACTIVE draft (not public); the seller reviews and activates

        it at `activation_url`. Uses 2 AI credits. Photos that aren''t WebP within

        `direct_upload.requirements` are rejected with `invalid_request`, never converted.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - upload_id
              properties:
                upload_id:
                  type: string
                  format: uuid
      responses:
        '200':
          description: Draft listing created (state `inactive`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DraftListing'
        '400':
          $ref: '#/components/responses/InvalidRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      tags:
      - Products
  /products/{id}:
    get:
      operationId: get_product
      summary: Get full details for one product listing
      description: 'Returns 404 uniformly whether the id doesn''t exist, the listing is

        soft-deleted, or it is otherwise not publicly visible (pending moderation,

        rejected, inactive, or an auction that already ended) -- the reason is never

        disclosed to an unauthenticated caller.'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: currency
        in: query
        description: Same semantics as in `search_products`.
        schema:
          type: string
          pattern: ^[A-Za-z]{3}$
      responses:
        '200':
          description: Product detail.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductDetail'
        '400':
          $ref: '#/components/responses/InvalidRequest'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      tags:
      - Products
components:
  schemas:
    PhotoUploadSession:
      type: object
      required:
      - status
      - upload_url
      - max_images
      - upload_id
      - direct_upload
      properties:
        status:
          type: string
          enum:
          - awaiting_photos
        upload_url:
          type: string
          format: uri
          description: 'Resollo page where the seller (signed in) picks the photos. The photos are normalized in the seller''s browser (resized to 1024 px WebP, metadata such as GPS location stripped) exactly as in the web listing form. Not tied to this call: an upload there creates its own inactive draft on the seller''s account.'
        max_images:
          type: integer
          description: How many photos the seller's plan allows per listing.
        upload_id:
          type: string
          format: uuid
          description: Pass to `POST /products/from-upload` after a direct upload.
        direct_upload:
          type: object
          required:
          - put_urls
          - headers
          - requirements
          - expires_in_seconds
          description: 'For agents that have a tool to create the WebP files (e.g. the free photo MCP servers at github.com/resollo/mcp-servers, ImageMagick, cwebp) and can send an HTTP PUT: create each photo as WebP within `requirements` (Resollo never converts photos), PUT the raw bytes to `put_urls[i]` with `headers` (index 0 is the cover), then call `POST /products/from-upload`. Agents that can''t convert use `upload_url` instead.'
          properties:
            put_urls:
              type: array
              items:
                type: string
                format: uri
            headers:
              type: object
              additionalProperties:
                type: string
            requirements:
              type: object
              required:
              - format
              - max_dimension_px
              - max_bytes
              properties:
                format:
                  type: string
                  enum:
                  - image/webp
                max_dimension_px:
                  type: integer
                max_bytes:
                  type: integer
            expires_in_seconds:
              type: integer
    SellerDetail:
      allOf:
      - $ref: '#/components/schemas/SellerSummary'
      - type: object
        required:
        - avatar_url
        - city
        - stripe_connect_active
        - accepted_payment_methods
        - accepted_shipment_methods
        properties:
          avatar_url:
            type: string
            description: Public URL of the seller's uploaded avatar, or a deterministic generated placeholder (`/api/avatar/<id>`) when they haven't uploaded one. Never null.
          city:
            type:
            - string
            - 'null'
          stripe_connect_active:
            type: boolean
            description: Whether the seller has a fully active Stripe Connect account, i.e. whether online card payment through Resollo (payment method `stripe`) is available.
          accepted_payment_methods:
            type: array
            items:
              type: string
              enum:
              - cash
              - card
              - bank
              - paypal
              - stripe
            description: '`card` means paying by card directly to the seller (e.g. on handover), not online; online card payment is `stripe` and needs `stripe_connect_active`. Informational only. Reflects the seller''s currently configured payment methods. The platform may further restrict this to Stripe-only at actual checkout time for certain seller subscription plans (e.g. commission-based plans). Authoritative payment negotiation is out of scope for this endpoint and belongs to a future phase-2 transaction API.'
          accepted_shipment_methods:
            type: array
            items:
              type: string
              enum:
              - personal
              - courier
              - postal
              - locker
    Category:
      type: object
      required:
      - id
      - key
      - name_en
      properties:
        id:
          type: integer
          description: Raw `category_id` from the listing (may be a subcategory id).
        key:
          type: string
          description: Stable top-level category key (e.g. `ELECTRONICS`). `UNKNOWN` if unrecognized.
        name_en:
          type: string
    SearchProductsResponse:
      type: object
      required:
      - products
      - next_cursor
      - count
      properties:
        products:
          type: array
          items:
            $ref: '#/components/schemas/ProductSearchItem'
        next_cursor:
          type:
          - string
          - 'null'
          description: Opaque cursor to pass as `cursor` for the next page, or null if this is the last page.
        count:
          type:
          - integer
          - 'null'
          description: Total matching count (exact when the query is narrowed, an estimate otherwise).
    ProductDetail:
      allOf:
      - $ref: '#/components/schemas/ProductSearchItem'
      - type: object
        required:
        - unit
        - guarantee
        - min_price
        - offers_enabled
        - attributes
        - semantic_profile
        - image_urls
        - shipment_prices
        - shipment_prices_currency
        - seller
        properties:
          unit:
            type:
            - string
            - 'null'
          guarantee:
            type:
            - string
            - 'null'
          min_price:
            type:
            - number
            - 'null'
            description: Auction reserve price, if applicable.
          offers_enabled:
            type: boolean
            description: Whether the seller accepts negotiated offers on this (fixed-price only) listing.
          attributes:
            type:
            - object
            - 'null'
            description: Free-form AI-extracted structured attributes (e.g. brand).
          semantic_profile:
            type:
            - object
            - 'null'
            description: AI-generated semantic descriptors (suitable_for, target_audience, key_strengths, etc.).
          image_urls:
            type: array
            items:
              type: string
              format: uri
          shipment_prices:
            type:
            - object
            - 'null'
            description: Shipping cost estimate per shipment method (courier, postal, locker), each with `local` and `international` text ranges such as "1000-3000", in `shipment_prices_currency` (not converted). Empty when the listing only offers personal pickup.
          shipment_prices_currency:
            type: string
            description: Currency of the `shipment_prices` ranges. Always equal to `price.currency` (the listing's own currency), even when `converted_price` is in another currency.
          seller:
            $ref: '#/components/schemas/SellerDetail'
    SellerSummary:
      type: object
      required:
      - id
      - alias
      - is_verified
      - country_code
      - region_code
      properties:
        id:
          type: string
          format: uuid
        alias:
          type:
          - string
          - 'null'
        is_verified:
          type: boolean
          description: Identity verification badge -- unrelated to Stripe Connect status.
        country_code:
          type:
          - string
          - 'null'
        region_code:
          type:
          - string
          - 'null'
    Money:
      type: object
      required:
      - amount
      - currency
      properties:
        amount:
          type: number
        currency:
          type: string
          description: ISO 4217 currency code.
    Condition:
      type: object
      required:
      - value
      - key
      - name_en
      properties:
        value:
          type: integer
        key:
          type: string
          example: SECOND_HAND
        name_en:
          type: string
          example: Used
    CreateProductRequest:
      type: object
      description: Empty. The request carries no photos and no listing content -- every part of the listing is generated server-side from the photos the seller picks on `upload_url`, and quantity/unit/offers/business flag take the web form's defaults (1 piece, offers on, private listing). Unknown fields are ignored.
    ProductSearchItem:
      type: object
      required:
      - id
      - name
      - description
      - category
      - condition
      - price
      - converted_price
      - listing_type
      - auction_ends_at
      - quantity_available
      - image_url
      - seller
      - url
      - created_at
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type: string
        category:
          $ref: '#/components/schemas/Category'
        condition:
          $ref: '#/components/schemas/Condition'
        price:
          allOf:
          - $ref: '#/components/schemas/Money'
          description: The seller's native listed price/currency -- never converted, so it always reflects the actual listing.
        converted_price:
          oneOf:
          - $ref: '#/components/schemas/Money'
          - type: 'null'
          description: Price converted to the resolved `currency`, when a conversion rate is available.
        listing_type:
          type: string
          enum:
          - fixed_price
          - auction
        auction_ends_at:
          type:
          - string
          - 'null'
          format: date-time
        quantity_available:
          type: integer
        image_url:
          type:
          - string
          - 'null'
          format: uri
        seller:
          $ref: '#/components/schemas/SellerSummary'
        url:
          type: string
          format: uri
          description: Canonical (original listing language) product page URL.
        created_at:
          type:
          - string
          - 'null'
          format: date-time
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - invalid_request
              - unauthorized
              - not_found
              - rate_limited
              - internal_error
            message:
              type: string
    DraftListing:
      type: object
      required:
      - product_id
      - state
      - suggested
      - activation_url
      - quota_remaining
      properties:
        product_id:
          type: string
          format: uuid
        state:
          type: string
          enum:
          - inactive
        suggested:
          type: object
          required:
          - name
          - description
          - category
          - condition
          - attributes
          - semantic_profile
          - shipment_prices
          - price
          description: The final field values used for the listing, all generated by Resollo's AI. The price amount is the midpoint of the AI's suggested range (min/max).
          properties:
            name:
              type: string
            description:
              type: string
            category:
              $ref: '#/components/schemas/Category'
            condition:
              $ref: '#/components/schemas/Condition'
            attributes:
              type: object
            semantic_profile:
              type:
              - object
              - 'null'
            shipment_prices:
              type: object
            price:
              type: object
              required:
              - amount
              - currency
              - min
              - max
              - reasoning
              properties:
                amount:
                  type: number
                currency:
                  type: string
                min:
                  type: number
                  description: AI-suggested price range lower bound.
                max:
                  type: number
                  description: AI-suggested price range upper bound.
                reasoning:
                  type: string
        activation_url:
          type: string
          format: uri
          description: The seller's existing product-management page. The listing stays `inactive` (not publicly visible, not in the moderation queue) until the seller opens this URL and activates it themselves.
        quota_remaining:
          type: object
          required:
          - autofill
          - price_suggestion
          description: Remaining AI credits after this call, which consumed 2 (one per pipeline).
          properties:
            autofill:
              type: integer
            price_suggestion:
              type: integer
  responses:
    InvalidRequest:
      description: The request was malformed or referenced an unsupported value (e.g. an unknown currency, an invalid cursor).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: 'Missing, malformed, or unrecognized `Authorization: Bearer` agent API key.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: Too many requests from this client.
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds to wait before retrying.
        X-RateLimit-Limit:
          schema:
            type: integer
        X-RateLimit-Remaining:
          schema:
            type: integer
        X-RateLimit-Reset:
          schema:
            type: integer
          description: Unix epoch milliseconds when the current window resets.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: The product doesn't exist or isn't publicly visible.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    AgentApiKey:
      type: http
      scheme: bearer
      description: A per-user API key generated from the Resollo profile page ("AI Agent Access"). Identifies exactly one Resollo user; orders placed with it are attributed to that user.