Skip to Content
MinexonMinexon

market.listing

Returns a marketplace listing visible to the player.

GET/api/v1/{locale}/market/{slug}

API scope market.listing

Request

Send Authorization: Bearer <key> with each request.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.
slugstringRequiredURL slug of the resource.

This endpoint takes no request body.

Run samples from your application server. See Quickstart for variables and sessions.

curl --fail-with-body --request GET \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  "${MINEXON_BASE_URL}/api/v1/en/market/example"

Response

HTTP 200 · application/json

The fields below are inside the response’s data object.

FieldTypeRequirementDescription
localestringRequiredResponse locale.
errorstring or nullConditionalAction error. Can be empty on success.
errorsarray or objectConditionalField or form validation errors.
noticestring or nullConditionalAction notice.
slugstringConditionalRecord slug.
listingobjectRequiredLocalized listing, ownership and delivery information.
siteCurrencystringRequiredSite currency code.
siteWalletobject | nullRequiredPlayer’s site wallet.
Nested fields
FieldTypeRequirementDescription
listing.idintegerRequiredListing ID.
listing.priceintegerRequiredListing price in minor units of the site currency.
listing.revisionintegerRequiredListing revision.
listing.minebooleanRequiredWhether the current player owns the listing.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "listing": {},
    "siteWallet": {}
  }
}

Flow and error cases

Shared error and authentication contract