HarborHarbor
DocumentationGuidesPlugins
All plugins

Polymarket Gamma API

Official Polymarket Gamma API imported from its OpenAPI spec

APICategory: dataPopularity 56polymarket_gamma

Official Polymarket Gamma API imported from its OpenAPI spec

Install

hrbr plugins install polymarket-gamma-api

Harbor calls https://gamma-api.polymarket.com (driven by the upstream OpenAPI spec).

Quick start

hrbr exec 'return await polymarket_gamma.get({ /* see schema */ })'

Or from a Function:

import { defineOrbitJob } from "@hrbr/orbit";

export default defineOrbitJob({
  name: "polymarket-gamma-api-example",
  handler: async (ctx) => {
    return await ctx.plugins.polymarket_gamma.list({ limit: 5 });
  },
});

Tools

Tools are generated from the upstream OpenAPI spec. Inspect with:

hrbr plugins tools polymarket-gamma-api

Or open the dashboard plugin page for the live tool list.