MapPoster Render API

The Render API from MapPoster — 1 operation(s) for render.

GitHub OpenAPI

Operations 1

POST /v1/render Render a poster #

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/mapposter-xyz:mapposter-xyz-render-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

mapposter-xyz-render-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MapPoster Render API
  version: 1.0.0
  summary: Render print-ready map posters of any place on Earth.
  description: 'Renders MapPoster posters (any location, 50+ themes, text, markers, routes) to SVG, PDF, PNG, JPEG or WebP and returns a link to the file. Authenticate with a Render API key as a Bearer token. Plans: Starter (`starter`): 100 renders a month; Pro (`pro`): 1000 renders a month; Business (`business`): 5000 renders a month; Single Render (`single`): 1 render credit. Subscribe or buy at https://mapposter.xyz/developers/; Starter, Pro and Business include a commercial use licence for posters in the artistic themes (Terms of Service, section 3). To design a poster without a key, use the MapPoster MCP server (https://mcp.mapposter.xyz/mcp) or an editor link.'
  termsOfService: https://mapposter.xyz/terms
  contact:
    name: MapPoster
    email: support@mapposter.xyz
    url: https://mapposter.xyz/developers/
servers:
- url: https://api.mapposter.xyz
security:
- apiKey: []
tags:
- name: Render
paths:
  /v1/render:
    post:
      operationId: renderPoster
      summary: Render a poster
      description: Renders the poster in a headless browser (a few seconds to a minute) and stores the file; the response links to it. Counts one render against the key's monthly quota or credits; failed renders are not counted.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RenderRequest'
      responses:
        '200':
          description: The rendered poster.
          headers:
            X-RateLimit-Limit:
              description: Monthly quota (subscriptions).
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Renders left this month (subscriptions).
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RenderResult'
        '400':
          description: Invalid request, e.g. no lat/lon or an unsupported format.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: No render credits left (Single Render).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key is suspended or revoked, e.g. a lapsed subscription.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Monthly quota used up.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: The render failed; safe to retry.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: The renderer is busy; retry in a minute.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Render
components:
  schemas:
    RenderRequest:
      type: object
      required:
      - lat
      - lon
      properties:
        lat:
          type: number
          minimum: -90
          maximum: 90
          description: Latitude of the map centre.
        lon:
          type: number
          minimum: -180
          maximum: 180
          description: Longitude of the map centre.
        zoom:
          type: number
          description: 'Map zoom: about 11 for a metro area, 13 a city, 15 a neighbourhood, 16-17 a few streets.'
        theme:
          type: string
          enum:
          - ancient_woodland
          - arctic_frost
          - arid_canyon
          - aurora_glow
          - autumn_whisper
          - blueprint_classic
          - charcoal_sketch
          - copper_patina
          - cyber_glitch
          - cyber_noir
          - desert_mirage
          - deep_ocean
          - dark_gold
          - emerald_valley
          - ethereal_ghost
          - forest_shadow
          - golden_era
          - lavender_mist
          - mint_fizz
          - midnight_neon
          - monochrome_pro
          - mangrove_maze
          - paper_heritage
          - riverine_flow
          - retro_synth
          - royal_velvet
          - rustic_clay
          - sakura_bloom
          - solar_flare
          - steel_metropolis
          - sunset_blush
          - volcanic_ash
          - nautical_chart
          - wine_country
          - mediterranean_sun
          - nordic_fjord
          - vintage_atlas
          - rose_gold
          - indigo_night
          - espresso_roast
          - jade_silk
          - twilight_hour
          - sandstone_arch
          - obsidian_glass
          - storm_front
          - tobacco_leather
          - ivory_tower
          - sage_garden
          - coral_depths
          - terracotta_villa
          - dusty_rose
          - midnight_dark
          - minimal_white
          - modern_voyager
          - standard
          - satellite
          description: '`standard` and `satellite` are map tiles (renderMode `tile`, personal use only); the rest are artistic vector themes. The old keys dark, minimal and voyager map to midnight_dark, minimal_white and modern_voyager.'
        renderMode:
          type: string
          enum:
          - artistic
          - tile
          description: '`artistic` (vector themes, the default) or `tile` (the map-tile styles `standard` and `satellite`).'
        city:
          type: string
          description: Main poster text (the title).
        country:
          type: string
          description: Second line (the subtitle).
        width:
          type: number
          description: Poster width in px (its aspect; the file is scaled to maxDimension).
        height:
          type: number
          description: Poster height in px.
        format:
          type: string
          enum:
          - png
          - jpeg
          - webp
          - pdf
          - svg
          default: png
          description: '`svg` is true vector for the artistic themes (fonts embedded) but leaves map labels out; for the map-tile styles it wraps a raster image.'
        maxDimension:
          type: number
          minimum: 256
          description: Longest edge in px; the server caps it (4096 by default).
        preview:
          type: boolean
          description: Also return a 640px WebP preview (base64), e.g. to show the poster in a chat.
        params:
          type: object
          description: More of the design, by editor field name. These may also be given at the top level.
          properties:
            bearing:
              type: number
              description: Map rotation in degrees (0 = north up).
            mapShape:
              type: string
              enum:
              - rectangle
              - circle
              - hexagon
              - heart
            matEnabled:
              type: boolean
              description: Gallery-style mat (passe-partout) around the map.
            showLabels:
              type: boolean
              description: Street, place and water names, for the themes that have them (midnight_dark, minimal_white, modern_voyager).
            overlayBgType:
              type: string
              enum:
              - none
              - vignette
              - radial
            cityFont:
              type: string
              description: CSS font-family of the title, e.g. "'Playfair Display', serif".
            countryFont:
              type: string
              description: CSS font-family of the subtitle.
            coordsFont:
              type: string
              description: CSS font-family of the coordinates line.
            overlaySize:
              type: string
              enum:
              - none
              - small
              - medium
              - large
            matWidth:
              type: number
            matWhiteBorder:
              type: boolean
            matShowBorder:
              type: boolean
            matBorderWidth:
              type: number
            matBorderOpacity:
              type: number
            showMarker:
              type: boolean
            markers:
              type: array
              items:
                type: object
                required:
                - lat
                - lon
                properties:
                  lat:
                    type: number
                    minimum: -90
                    maximum: 90
                  lon:
                    type: number
                    minimum: -180
                    maximum: 180
              description: Pins on the map.
            markerIcon:
              type: string
              enum:
              - pin
              - circle
              - heart
              - star
              - none
            markerSize:
              type: number
              description: Marker size as a multiple of 40 px (1 = 40 px).
            markerColor:
              type: string
              description: 'Marker colour as #RRGGBB; empty = the theme accent.'
            showRoute:
              type: boolean
            routeStartLat:
              type: number
            routeStartLon:
              type: number
            routeEndLat:
              type: number
            routeEndLon:
              type: number
            routeViaPoints:
              type: array
              items:
                type: object
                required:
                - lat
                - lon
                properties:
                  lat:
                    type: number
                    minimum: -90
                    maximum: 90
                  lon:
                    type: number
                    minimum: -180
                    maximum: 180
              description: Points the route passes through.
            routeColor:
              type: string
              description: 'Route colour as #RRGGBB; empty = the theme route colour.'
            overlayX:
              type: number
              description: Horizontal text position, 0-1.
            overlayY:
              type: number
              description: Vertical text position, 0-1.
            showCountry:
              type: boolean
            showCoords:
              type: boolean
            cityFontSize:
              type: number
              description: Title size in px; 0 = automatic.
            cityLetterSpacing:
              type: number
            cityFontWeight:
              type: string
              enum:
              - normal
              - bold
            cityTextTransform:
              type: string
              enum:
              - uppercase
              - none
              - capitalize
            showWater:
              type: boolean
            showParks:
              type: boolean
            showRoads:
              type: boolean
            showBuildings:
              type: boolean
        rawParams:
          type: object
          additionalProperties: true
          description: Editor share-link parameters by their short name, passed through as they are.
    RenderResult:
      type: object
      properties:
        id:
          type: string
        url:
          type: string
          format: uri
          description: The file; public, no key needed.
        format:
          type: string
          enum:
          - png
          - jpeg
          - webp
          - pdf
          - svg
        bytes:
          type: integer
        provenance:
          type: object
          description: MapPoster's signed record of this render (also embedded in PNG and SVG files); see POST /v1/verify.
          properties:
            id:
              type: string
            issued:
              type: string
              format: date-time
            sha256:
              type: string
            signature:
              type:
              - string
              - 'null'
        usage:
          type: object
          description: 'Subscriptions: used, quota and remaining this month. Single Render: credits left.'
          properties:
            used:
              type: integer
            quota:
              type: integer
            remaining:
              type: integer
            credits:
              type: integer
        preview:
          type: object
          description: 'With preview: true.'
          properties:
            mime:
              type: string
            data:
              type: string
              contentEncoding: base64
    Error:
      type: object
      properties:
        error:
          type: boolean
          const: true
        message:
          type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'A Render API key (mpk_live_…): Starter, Pro, Business or Single Render, from https://mapposter.xyz/developers/ or POST /v1/checkout.'
externalDocs:
  description: API reference
  url: https://mapposter.xyz/developers/docs