Portravo Metros API

The Metros API from Portravo — 1 operation(s) for metros.

GitHub OpenAPI

Operations 1

GET /metros List supported pricing markets #

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/portravo-com:portravo-com-metros-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

portravo-com-metros-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Portravo project Metros API
  version: 1.0.1
  description: Scoped access to owned projects, first-plan upload, paid takeoff extraction, and reviewed estimate exports. Human line review, pricing, and finalization stay in Portravo. Availability is controlled by the deployment's external-API rollout flag; this document alone does not establish live access.
servers:
- url: https://portravo.com/api/v1
security:
- PortravoKey: []
tags:
- name: Metros
paths:
  /metros:
    get:
      operationId: listPricingMetros
      summary: List supported pricing markets
      description: Requires projects:read.
      responses:
        '200':
          description: Supported metros, pricing indexes and direct-price availability.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetroList'
        '401':
          description: Missing, invalid, expired or revoked Portravo API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            WWW-Authenticate:
              description: Bearer authentication challenge.
              schema:
                type: string
        '403':
          description: Required scope is missing or account onboarding is incomplete.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Account request or operation allowance reached.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Retry-After:
              description: Seconds to wait before retrying; respect the longer operation window as well.
              schema:
                type: string
                pattern: ^[0-9]+$
        '503':
          description: External API unavailable or service request failed. Preserve the original idempotency key when retrying an operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
      - Metros
components:
  schemas:
    Metro:
      type: object
      additionalProperties: false
      properties:
        code:
          type: string
        name:
          type: string
        state:
          type: string
        costIndex:
          type: number
        hasDirectPrices:
          type: boolean
        createdAt:
          type: string
          format: date-time
      required:
      - code
      - name
      - state
      - costIndex
      - hasDirectPrices
      - createdAt
    MetroList:
      type: object
      additionalProperties: false
      properties:
        metros:
          type: array
          items:
            $ref: '#/components/schemas/Metro'
      required:
      - metros
    ApiError:
      type: object
      additionalProperties: false
      properties:
        error:
          type: object
          additionalProperties: false
          properties:
            code:
              type: string
            message:
              type: string
          required:
          - code
          - message
      required:
      - error
  securitySchemes:
    UploadToken:
      type: http
      scheme: bearer
      bearerFormat: ptrv_up_ upload token
      description: The clientToken from one upload grant. Valid only for that grant's uploadUrl until expiresAt.
    PortravoKey:
      type: http
      scheme: bearer
      bearerFormat: ptrv_ API key
      description: Create a 90-day scoped key in Portravo Settings > Integrations. Save it in the client's secure credential store. Keys can be revoked in Settings.