Social Perks Reference API

Public reference data — pricing, actions, benchmarks

GitHub OpenAPI

Operations 5

GET /pricing Pricing oracle #
GET /actions List marketing actions #
GET /benchmarks Industry benchmarks #
GET /influencers Search influencers #
GET /stats/public Platform aggregate counts #

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/socialperks-app:socialperks-app-reference-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

socialperks-app-reference-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Social Perks Reference API
  version: 1.0.0
  summary: Marketing actions in exchange for perks
  description: Social Perks is a marketing platform where businesses offer perks (discounts, free items, cash back) to customers and influencers in exchange for marketing actions across 25 social platforms (125 actions total). This API exposes pricing, action discovery, campaign management, submission tracking, and the OAuth-style agent key-issuance flow described at https://socialperks.app/AGENTS.md.
  contact:
    name: Social Perks
    url: https://socialperks.app
  license:
    name: Proprietary
servers:
- url: https://socialperks.app/api/v1
  description: Production
tags:
- name: Reference
  description: Public reference data — pricing, actions, benchmarks
paths:
  /pricing:
    get:
      tags:
      - Reference
      summary: Pricing oracle
      description: Returns market-rate pricing for actions. Public endpoint, no auth required.
      parameters:
      - name: actionId
        in: query
        schema:
          type: string
      - name: platformId
        in: query
        schema:
          type: string
      - name: businessType
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Pricing estimate(s)
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/SuccessEnvelope'
                - type: object
                  properties:
                    data:
                      $ref: '#/components/schemas/PricingEstimate'
      operationId: getPricing
      x-operation-id-source: derived
  /actions:
    get:
      tags:
      - Reference
      summary: List marketing actions
      description: Returns all 125+ actions with effort, type, and platform metadata.
      parameters:
      - name: platformId
        in: query
        schema:
          type: string
      - name: type
        in: query
        schema:
          type: string
      - name: maxEffort
        in: query
        schema:
          type: integer
          minimum: 0
          maximum: 5
      - name: page
        in: query
        schema:
          type: integer
          default: 1
      - name: perPage
        in: query
        schema:
          type: integer
          default: 20
          maximum: 100
      responses:
        '200':
          description: Action list
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      actions:
                        type: array
                        items:
                          $ref: '#/components/schemas/Action'
                      total:
                        type: integer
                      page:
                        type: integer
                      perPage:
                        type: integer
                      totalPages:
                        type: integer
      operationId: getActions
      x-operation-id-source: derived
  /benchmarks:
    get:
      tags:
      - Reference
      summary: Industry benchmarks
      responses:
        '200':
          description: Benchmark data by industry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessEnvelope'
      operationId: getBenchmarks
      x-operation-id-source: derived
  /influencers:
    get:
      tags:
      - Reference
      summary: Search influencers
      parameters:
      - name: platform
        in: query
        schema:
          type: string
      - name: minFollowers
        in: query
        schema:
          type: integer
      - name: maxFollowers
        in: query
        schema:
          type: integer
      - name: page
        in: query
        schema:
          type: integer
          default: 1
      - name: perPage
        in: query
        schema:
          type: integer
          default: 20
      responses:
        '200':
          description: Paginated influencer list
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      influencers:
                        type: array
                        items:
                          type: object
                      total:
                        type: integer
                      page:
                        type: integer
                      perPage:
                        type: integer
                      totalPages:
                        type: integer
      operationId: getInfluencers
      x-operation-id-source: derived
  /stats/public:
    get:
      tags:
      - Reference
      summary: Platform aggregate counts
      description: 'Anonymous, cached, rounded aggregate platform counts (total campaigns, businesses, active campaigns). Below an activity floor the response is { show: false } and counts are zero. Cached server-side for 5 minutes.'
      responses:
        '200':
          description: Aggregate counts
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/SuccessEnvelope'
                - type: object
                  properties:
                    data:
                      type: object
                      properties:
                        show:
                          type: boolean
                        campaigns:
                          type: integer
                        businesses:
                          type: integer
                        active:
                          type: integer
                        updatedAt:
                          type: string
                          format: date-time
      operationId: getStatsPublic
      x-operation-id-source: derived
components:
  schemas:
    PricingEstimate:
      type: object
      properties:
        actionId:
          type: string
        platformId:
          type: string
        businessType:
          type: string
        estimatedValueUsd:
          type: number
        recommendedPerk:
          type: object
          properties:
            type:
              type: string
              enum:
              - pct
              - amount
              - free_item
            value:
              type: number
    Action:
      type: object
      properties:
        id:
          type: string
          example: ig_st
        label:
          type: string
          example: Story Tag
        type:
          type: string
          enum:
          - content
          - review
          - engage
          - share
          - referral
        effort:
          type: integer
          minimum: 0
          maximum: 5
        value:
          type: number
          description: Estimated USD value
        incentivizable:
          type: boolean
        platformId:
          type: string
          example: ig
        platformName:
          type: string
          example: Instagram
        platformIcon:
          type: string
          example: 📸
        platformColor:
          type: string
          example: '#E1306C'
    SuccessEnvelope:
      type: object
      required:
      - success
      - data
      properties:
        success:
          type: boolean
          const: true
        data:
          description: Endpoint-specific payload
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key (sp_live_... or sp_test_...). Recommended for agents.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT issued by /api/v1/auth.