{"_id":"polymarket-sdk","_rev":"3-2bf5952c4fcfa2a168b5b5d5b388927b","name":"polymarket-sdk","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"polymarket-sdk","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"polymarket-sdk@1.0.0","maintainers":[{"name":"azeezv","email":"azeezv.work@gmail.com"}],"dist":{"shasum":"c0e7a2926b8968c8b2caed9918ed507f9b5b92ad","tarball":"https://registry.npmjs.org/polymarket-sdk/-/polymarket-sdk-1.0.0.tgz","fileCount":7,"integrity":"sha512-J2ewNAVUSBgr+6gHFqKdpf5TF860TtEGT2H9DNUgA5xETZQOP3YRxOuI/wZi1q7PRRGbFJPKNdgT5TDvq0xoCg==","signatures":[{"sig":"MEQCIHADavKvGzu6Gf8YtaV9OEFl5bP/MOEXluLfbsf8RQHSAiBYGpwraf9OuHssCQqgHFIIoUZiJTxYCDg/bG4QRg0EjA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2521},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"0eba84be23ed0d192749144447009dbab32e4ff9","scripts":{"dev":"tsup --watch","lint":"eslint src/**/*.ts","test":"vitest run","build":"tsup","format":"prettier --write \"src/**/*.{ts,json}\""},"_npmUser":{"name":"azeezv","email":"azeezv.work@gmail.com"},"_npmVersion":"11.6.2","description":"","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^9.39.1","vitest":"^4.0.15","globals":"^16.5.0","prettier":"^3.7.4","@eslint/js":"^9.39.1","typescript":"^5.9.3","typescript-eslint":"^8.48.1"},"_npmOperationalInternal":{"tmp":"tmp/polymarket-sdk_1.0.0_1765043371134_0.5117945289412043","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"polymarket-sdk","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"polymarket-sdk@1.0.1","maintainers":[{"name":"azeezv","email":"azeezv.work@gmail.com"}],"dist":{"shasum":"a89ce7faa3700b5ab11442d58ddbe730c2593b62","tarball":"https://registry.npmjs.org/polymarket-sdk/-/polymarket-sdk-1.0.1.tgz","fileCount":7,"integrity":"sha512-2+VYYd6i/AsWe92969mX8qZTxTIu5vGbeaEb6morqDcGVQjrf/eJCa4/E+omc7Tf1YxD6z22zjtzyfUcj7VJtA==","signatures":[{"sig":"MEQCIHxUpjwdTn1y91vyuH8UkaNPuiiwaxEnelcDu6102gMtAiAY1jfIJmagQtHM4Sngpf1az1IFS45koVaDd0BUcT/kTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9000},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"0c9c6c4579208de2f17c9d95f338c528c0583792","scripts":{"dev":"tsup --watch","lint":"eslint src/**/*.ts","test":"vitest run","build":"tsup","format":"prettier --write \"src/**/*.{ts,json}\""},"_npmUser":{"name":"azeezv","email":"azeezv.work@gmail.com"},"_npmVersion":"11.6.2","description":"","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^9.39.1","vitest":"^4.0.15","globals":"^16.5.0","prettier":"^3.7.4","@eslint/js":"^9.39.1","typescript":"^5.9.3","typescript-eslint":"^8.48.1"},"_npmOperationalInternal":{"tmp":"tmp/polymarket-sdk_1.0.1_1765044248557_0.780684766862555","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"polymarket-sdk","version":"1.0.2","description":"A TypeScript SDK for interacting with the Polymarket API.","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"tsup","dev":"tsup --watch","lint":"eslint src/**/*.ts","format":"prettier --write \"src/**/*.{ts,json}\"","test":"vitest run"},"keywords":[],"author":"","license":"ISC","type":"commonjs","devDependencies":{"@eslint/js":"^9.39.1","eslint":"^9.39.1","globals":"^16.5.0","prettier":"^3.7.4","tsup":"^8.5.1","typescript":"^5.9.3","typescript-eslint":"^8.48.1","vitest":"^4.0.15"},"gitHead":"b1f9b63c4167812502038f4026030c3f0b6ff49b","_id":"polymarket-sdk@1.0.2","_nodeVersion":"20.19.5","_npmVersion":"11.6.2","dist":{"integrity":"sha512-K+Krhj1DNJMjb/RT4994jMnCJphXHGj59PFpHbiWV8TAbNiDoUAL9uzm/rZ2EeKodnIeXpfTtPrcUIUOvaMcsA==","shasum":"9900587a6a6c8c2ff7a8feed5f05693acafda5dd","tarball":"https://registry.npmjs.org/polymarket-sdk/-/polymarket-sdk-1.0.2.tgz","fileCount":8,"unpackedSize":9713,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGeiuwkKVtdO+QC2dp4n2tu4KRk4wazCNzTLAjgs8K/3AiEA3yDpHIg1ImhRVPIFlj1cOaiyKoLudkDTFBsqYxHk6Es="}]},"_npmUser":{"name":"azeezv","email":"azeezv.work@gmail.com"},"directories":{},"maintainers":[{"name":"azeezv","email":"azeezv.work@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/polymarket-sdk_1.0.2_1765045695622_0.8273816890635235"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-06T17:49:31.133Z","modified":"2025-12-06T18:28:15.963Z","1.0.0":"2025-12-06T17:49:31.296Z","1.0.1":"2025-12-06T18:04:08.709Z","1.0.2":"2025-12-06T18:28:15.772Z"},"license":"ISC","keywords":[],"maintainers":[{"name":"azeezv","email":"azeezv.work@gmail.com"}],"readme":"# Polymarket SDK\n\nA TypeScript SDK for interacting with the Polymarket API.\n\n## Installation\n\n```bash\nnpm install polymarket-sdk\n```\n\n## Usage\n\n### List Markets\n\nFetch markets from Polymarket with various filters.\n\n```typescript\nimport { listMarkets } from 'polymarket-sdk';\n\nasync function main() {\n  try {\n    // Fetch top 5 markets by 24h volume\n    const markets = await listMarkets({\n      limit: 5,\n      ascending: false,\n      order: 'volume24hr'\n    });\n\n    markets.forEach((market) => {\n      console.log(`${market.question} (ID: ${market.id})`);\n      console.log(`Volume 24h: ${market.volume24hr}`);\n    });\n  } catch (error) {\n    console.error('Error fetching markets:', error);\n  }\n}\n\nmain();\n```\n","readmeFilename":"README.md","description":"A TypeScript SDK for interacting with the Polymarket API."}