openapi: 3.1.0 info: title: Gameflip API (GFAPI) Account Profile API version: v1 description: JSON REST API for the Gameflip marketplace, transcribed faithfully from the published GFAPI documentation (https://gameflip.github.io/gfapi/) and the official Node.js client (https://github.com/gameflip/gfapi). Covers listing management and search, exchanges, account profile and wallet history, and Steam item escrow / bulk trade-offer listings. This spec captures the documented endpoints, methods, auth scheme, query parameters, and the common response envelope; request/response object bodies are represented as the generic GfResponse envelope because Gameflip does not publish per-object JSON Schemas. x-apievangelist-note: Generated by the API Evangelist enrichment pipeline by transcribing the provider's published REST documentation. Not an official Gameflip OpenAPI. contact: name: Gameflip Support url: https://support.gameflip.com/hc/en-us servers: - url: https://production-gameflip.fingershock.com/api/v1 description: Production - url: https://test-gameflip.fingershock.com/api/v1 description: Test / sandbox security: - gfapiAuth: [] tags: - name: Profile description: Account profile service. paths: /account/{id}/profile: get: operationId: getProfile tags: - Profile summary: Get a user's public profile parameters: - name: id in: path required: true schema: type: string responses: '200': description: Profile content: application/json: schema: $ref: '#/components/schemas/GfResponse' 4XX: $ref: '#/components/responses/Error' /account/me/profile: get: operationId: getMyProfile tags: - Profile summary: Get the authenticated user's profile responses: '200': description: Profile content: application/json: schema: $ref: '#/components/schemas/GfResponse' 4XX: $ref: '#/components/responses/Error' components: responses: Error: description: Failure response using the common GFAPI envelope content: application/json: schema: $ref: '#/components/schemas/GfError' schemas: GfResponse: type: object description: Common GFAPI success envelope carrying a single object. required: - status properties: status: type: string enum: - SUCCESS - FAILURE data: type: object nullable: true GfError: type: object description: Common GFAPI failure envelope. required: - status properties: status: type: string enum: - FAILURE data: nullable: true error: type: object properties: message: type: string code: type: integer securitySchemes: gfapiAuth: type: apiKey in: header name: Authorization description: 'Gameflip API key plus a rotating TOTP one-time password, sent as `Authorization: GFAPI :`. The TOTP is generated from the account''s TOTP secret (SHA1, 6 digits, 30s period). API keys and TOTP secrets are issued through Gameflip account settings / support during Beta.'