SShortSingh.
Back to feed

Polymarket Has Three Separate APIs in 2026: A Developer's Practical Guide

0
·1 views

Polymarket's trading infrastructure is split across three distinct APIs — Gamma, CLOB, and Data — each with separate base URLs, authentication methods, and rate limits. The Gamma API serves as a public metadata layer for market listings and requires no authentication, while the CLOB API handles live order books and requires Polygon wallet signing via EIP-712 and HMAC for trade execution. A major CLOB contract upgrade in April 2026 shifted collateral from USDC.e to pUSD and changed roughly half of all order-struct fields, making older tutorials unreliable. Developers using market-style orders should note strict decimal precision rules — maker amounts allow at most two decimals and taker amounts at most four — as SDK rounding bugs can silently produce server-rejected orders. For real-time data, WebSocket feeds are recommended over REST polling to avoid hitting rate limits, which cap at around 9,000 requests per 10-second window on CLOB and far lower on other endpoints.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer migrates portfolio from Next.js and Sanity to Astro 5 for leaner, GDPR-safe site

A developer has rebuilt their personal portfolio by switching from Next.js 14 with a Sanity CMS backend to a fully static Astro 5 site, citing unnecessary JavaScript overhead and compliance concerns as key motivators. The new site ships almost no client-side JavaScript, relying on just four small Svelte islands for interactive elements while rendering everything else as static HTML at build time. Content previously stored in Sanity's hosted CMS has been moved into the repository itself as MDX and JSON files, validated at build time using Zod schemas. The migration also eliminated all third-party network calls, including Google Fonts, reducing legal exposure under GDPR — a significant concern for the developer operating under their real name in Germany. A lightweight git-based CMS called Sveltia was added for editing content without touching the codebase directly, keeping the repository as the single source of truth.

0
ProgrammingDEV Community ·

Kenyan Developer Eugine Weks Builds Church Management and WhatsApp Ticketing Platforms

Eugine Weks is a full-stack developer and systems architect from Kenya currently studying for a BSc in Information Technology at Kibabii University. Through his venture Quantum Software Systems, he designs and deploys software solutions for businesses and community organizations. Among his active projects is a church and membership management system featuring member tracking, financial reporting, and role-based access control, built on Node.js, React, and PostgreSQL. He is also developing a WhatsApp-based event ticketing platform that enables ticket discovery, reservation, and QR verification through automated chat workflows. Weks says he is currently focused on distributed database performance, event-driven microservices, and open-source contributions.

0
ProgrammingDEV Community ·

Developer builds open-source tool to expose gaps between AI policy rules and enforcement

A developer has released an open-source AI governance project after discovering that the so-called guardrails in their own AI coding setup were largely unenforced prose rather than real controls. The tool compiles written policies into actual enforcement mechanisms, such as pre-execution hooks for agents like Claude Code and Cursor that block commands before they run. A tiered reporting system distinguishes between policies that are truly enforced, those checked at commit time, and those that are merely advisory prompts, so dashboards reflect reality rather than the existence of a config file. The project includes install witnesses and a lockfile that hashes compiled artifacts to prevent deleted gates from falsely reporting compliance. Policies ship with eval suites that replay compiled gates against test repositories, and the catalog maps installable policies to frameworks including OWASP Agentic Top 10, MITRE ATLAS, NIST AI RMF, and the EU AI Act.

0
ProgrammingDEV Community ·

International Team Wins AI Passport Ideathon with Business-First Approach

A four-member international team won the AI Passport Ideathon 'For Work' category, organised by Egoist Machines, Inc. (YC S26), with their idea called Fair Launch. The team, comprising members from different countries including Giannis Davarinos, Irini Hartzi, Katie Wan, and the author, collaborated remotely throughout the competition. Rather than leading with technical complexity, the team centred their approach on real business constraints, end-user needs, and genuine value creation. The experience reinforced the view that as AI prototyping becomes more accessible, the ability to identify problems worth solving matters more than building technically impressive systems.