MemeStack Account API
The signed-in user's profile, upload quota and badges.
The signed-in user's profile, upload quota and badges.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/memestack-ai:memestack-ai-account-api"
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.
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: 3.2.0
info:
title: MemeStack Account API
version: 1.0.0
description: 'Visual search engine for memes, infographics, charts, and screenshots. Find images by meaning, the text inside them, or visual similarity. AI-captioned, OCR-indexed, Lightning-ranked. Two tiers: the Open API (/v1) needs no key — the read endpoints the website itself uses, rate-limited per IP address; the Search API (/v2, Tenor v2-compatible) takes an API key, free for 100 calls a day, then paid plans (card or Lightning): https://memestack.ai/developers.'
contact:
name: MemeStack
url: https://memestack.ai
termsOfService: https://memestack.ai/terms
servers:
- url: https://api.memestack.ai
tags:
- name: Account
description: The signed-in user's profile, upload quota and badges.
paths:
/auth/me:
get:
tags:
- Account
summary: Get the authenticated user's profile, tier, and upload quota
description: Returns the full profile for the calling user — tier name, daily upload limit, max batch file cap, uploads used today, and next-tier progression info. Used by the frontend upload page to size the file picker and show quota state.
security:
- BearerAuth: []
responses:
'200':
description: Authenticated user profile.
content:
application/json:
schema:
type: object
properties:
id:
type: string
format: uuid
pubkey:
type: string
nullable: true
description: Lightning public key. Null for email-only accounts.
email:
type: string
format: email
nullable: true
auth_method:
type: string
enum:
- lightning
- email
has_pubkey:
type: boolean
display_name:
type: string
nullable: true
role:
type: string
enum:
- user
- admin
- system
- creator
approved_image_count:
type: integer
created_at:
type: string
format: date-time
tier:
type: string
enum:
- Pleb
- Memer
- Stacker
- Memelord
- Admin
description: Computed upload tier based on account age and approved image count.
daily_limit:
type: integer
nullable: true
description: Maximum uploads per day for this tier. Null means unlimited (Admin).
max_batch_files:
type: integer
description: Tier-scaled maximum files per upload batch. Frontend uses this to size the upload-page picker cap.
uploads_today:
type: integer
uploads_remaining:
type: integer
nullable: true
description: Uploads remaining today. Null means unlimited (Admin).
next_tier:
type: object
nullable: true
description: Next tier progression info. Null when the caller is already at the top tier.
properties:
name:
type: string
requirement:
type: string
status:
type: string
enum:
- active
- restricted
- frozen
- banned
description: Account moderation status.
status_reason:
type: string
nullable: true
status_until:
type: string
format: date-time
nullable: true
active_strike_count:
type: integer
token:
type: string
description: 'Present only when the sliding-session refresh re-minted the JWT on this request (presented token >24h old, revocation/status gates passed) AND the request authenticated via Authorization: Bearer. Cookie-authenticated sessions rotate via Set-Cookie alone and never receive this field. Bearer clients should replace their stored token with it.'
example:
id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
pubkey: 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
email: null
auth_method: lightning
has_pubkey: true
display_name: SatoshiUploads
role: user
approved_image_count: 35
created_at: '2026-01-10T09:00:00Z'
tier: Memer
daily_limit: 150
max_batch_files: 150
uploads_today: 3
uploads_remaining: 147
next_tier:
name: Stacker
requirement: 50 approved images or 7 days
status: active
status_reason: null
status_until: null
active_strike_count: 0
'401':
description: Authentication required.
'404':
description: User record not found.
operationId: getAuthMe
x-operation-id-source: derived
/v1/me/badges:
get:
tags:
- Account
summary: The calling user's milestone badges and progress
description: The authenticated account's earned badges (highest tier per track) plus, for every track NOT yet complete, the current value and the next threshold. A track absent from `progress` is complete — every open track appears, including one still at zero. Private, no-store; never cached by a shared cache.
security:
- BearerAuth: []
responses:
'200':
description: Earned badges plus per-track progress.
content:
application/json:
schema:
type: object
properties:
earned:
type: array
items:
$ref: '#/components/schemas/EarnedBadge'
progress:
type: array
items:
$ref: '#/components/schemas/BadgeProgress'
example:
earned:
- badge_key: uploads_silver
track: uploads
tier: 2
earned_at: '2026-08-02T11:30:00Z'
progress:
- track: uploads
next_tier: 3
threshold: 1000
value: 412
- track: streak
next_tier: 1
threshold: 7
value: 3
'401':
description: Authentication required.
'403':
description: The token is scoped to the browser extension (EXTENSION_SCOPE_FORBIDDEN).
operationId: getV1MeBadges
x-operation-id-source: derived
components:
schemas:
EarnedBadge:
type: object
description: One milestone badge a user holds. Earned once and permanent — there is no revocation path.
properties:
badge_key:
type: string
description: '`{track}_{tier name}`, e.g. `uploads_silver`. Unique per user.'
example: uploads_silver
track:
type: string
enum:
- uploads
- sats_earned
- supporter
- streak
- contests
- tenure
tier:
type: integer
enum:
- 1
- 2
- 3
description: 1 bronze, 2 silver, 3 gold.
earned_at:
type: string
format: date-time
description: When the threshold was crossed. An account merge keeps the EARLIER of two stamps.
required:
- badge_key
- track
- tier
- earned_at
BadgeProgress:
type: object
description: 'An owner-only view of one track that is NOT yet complete. Thresholds per track: uploads 10/100/1000 · sats_earned 1000/10000/100000 · supporter 1/6/12 months · streak 7/30/100 days · contests 1/5/25 · tenure 90/365/730 days.'
properties:
track:
type: string
enum:
- uploads
- sats_earned
- supporter
- streak
- contests
- tenure
next_tier:
type: integer
enum:
- 1
- 2
- 3
threshold:
type: integer
description: The value `next_tier` requires. `value >= threshold` is earned, so a value sitting exactly on one reports the NEXT tier.
value:
type: integer
description: The account's current value on this track.
required:
- track
- next_tier
- threshold
- value
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: JWT issued by /auth/callback (LNURL) or /auth/email/verify. Also accepted as the httpOnly cookie __Secure-bii-token for same-origin browser requests.
ApiKeyQuery:
type: apiKey
in: query
name: key
ApiKeyHeader:
type: apiKey
in: header
name: X-API-Key
externalDocs:
description: Full API documentation and developer guide
url: https://memestack.ai/developers
x-service-info:
categories:
- media
- search
docs:
homepage: https://memestack.ai/developers
apiReference: https://memestack.ai/llms-full.txt
llms: https://memestack.ai/llms.txt