Skip to main content
GET
/
v1
/
marketplace
/
{id}
curl -X GET "https://api.affonso.io/v1/marketplace/prg_abc123"
{
  "success": true,
  "data": {
    "id": "prog_a1b2c3d4",
    "name": "Acme SaaS",
    "description": "The best project management tool for teams",
    "tagline": "Manage projects effortlessly",
    "category": "SaaS",
    "website_url": "https://acme.com",
    "logo_url": "https://cdn.affonso.io/logos/acme.png",
    "access_mode": "public",
    "currency": "USD",
    "commission": {
      "type": "COMMISSION",
      "value": 30,
      "is_percentage": true,
      "apply_to": "FIRST_PAYMENT",
      "has_multiple_tiers": false
    },
    "terms": {
      "cookie_lifetime_days": 60,
      "payment_frequency": "MONTHLY",
      "payment_threshold": 50
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.affonso.io/llms.txt

Use this file to discover all available pages before exploring further.

Retrieve a single program that is listed in the marketplace by ID. Only programs that have been published to the Affonso marketplace are available through this endpoint. This endpoint is public and does not require authentication.

Path Parameters

id
string
required
The unique identifier of the program to retrieve.

Response

success
boolean
Always true for successful responses
data
object
The marketplace program object.
curl -X GET "https://api.affonso.io/v1/marketplace/prg_abc123"
{
  "success": true,
  "data": {
    "id": "prog_a1b2c3d4",
    "name": "Acme SaaS",
    "description": "The best project management tool for teams",
    "tagline": "Manage projects effortlessly",
    "category": "SaaS",
    "website_url": "https://acme.com",
    "logo_url": "https://cdn.affonso.io/logos/acme.png",
    "access_mode": "public",
    "currency": "USD",
    "commission": {
      "type": "COMMISSION",
      "value": 30,
      "is_percentage": true,
      "apply_to": "FIRST_PAYMENT",
      "has_multiple_tiers": false
    },
    "terms": {
      "cookie_lifetime_days": 60,
      "payment_frequency": "MONTHLY",
      "payment_threshold": 50
    }
  }
}