{"info":{"_postman_id":"8bf1e515-e5e3-4500-9a68-c25b1fbe6eaf","name":"Bank Rate API","description":"<html><head></head><body><p>Complete collection for the Bank Rate API - Access Indonesian bank exchange rates.</p>\n<h2 id=\"features\">Features</h2>\n<ul>\n<li>Get all available bank codes</li>\n<li>Get exchange rates by bank code</li>\n<li>Multiple rate types (TT Counter, E-Rate, Special Rate, Bank Notes)</li>\n<li>Jakarta timezone timestamps</li>\n</ul>\n<h2 id=\"authentication\">Authentication</h2>\n<p>All requests require an API key in the <code>x-api-co-id</code> header.</p>\n<h2 id=\"base-url\">Base URL</h2>\n<ul>\n<li>Production: <code>https://use.api.co.id</code></li>\n<li>Development: <code>http://localhost:3000</code></li>\n</ul>\n<h2 id=\"supported-banks\">Supported Banks</h2>\n<ul>\n<li>BRI (bri)</li>\n<li>Bank Mandiri (mandiri)</li>\n<li>BCA (bca)</li>\n<li>And more...</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"50289783","collectionId":"8bf1e515-e5e3-4500-9a68-c25b1fbe6eaf","publishedId":"2sBXVmdna7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-01-25T07:40:20.000Z"},"item":[{"name":"Bank Rates","item":[{"name":"Get Available Bank Codes","id":"57e43b86-f587-46bd-a6df-ebdc6e53f825","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","description":"<p>Your API key for authentication</p>\n","type":"text"}],"url":"https://use.api.co.id/api/bank-rates/codes","description":"<p>Get all unique bank codes available in the system.</p>\n<h3 id=\"features\">Features</h3>\n<ul>\n<li>Returns list of all available bank codes</li>\n<li>Use this to discover which banks have rate data</li>\n<li>Alphabetically sorted</li>\n</ul>\n<h3 id=\"response-format\">Response Format</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"is_success\": true,\n  \"message\": \"Success\",\n  \"data\": {\n    \"bank_codes\": [\n      \"bca\",\n      \"bri\",\n      \"mandiri\"\n    ]\n  }\n}\n</code></pre>\n<h3 id=\"use-cases\">Use Cases</h3>\n<ul>\n<li>Bank selection dropdowns</li>\n<li>Dynamic bank code discovery</li>\n<li>API integration setup</li>\n</ul>\n","urlObject":{"path":["api","bank-rates","codes"],"host":["https://use.api.co.id"],"query":[],"variable":[]}},"response":[{"id":"24cd4f7a-326d-4114-a996-bdc7ea096114","name":"Success - Available Bank Codes","originalRequest":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","type":"text"}],"url":"https://use.api.co.id/api/bank-rates/codes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_success\": true,\n    \"message\": \"Success\",\n    \"data\": {\n        \"bank_codes\": [\n            \"bca\",\n            \"bri\",\n            \"mandiri\"\n        ]\n    }\n}"}],"_postman_id":"57e43b86-f587-46bd-a6df-ebdc6e53f825"},{"name":"Get Bank Rate by Code - BRI","id":"955f2862-dbe3-405c-896f-2e7f56f8edfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","description":"<p>Your API key for authentication</p>\n","type":"text"}],"url":"https://use.api.co.id/api/bank-rates?bank_code=bri","description":"<p>Get exchange rate data for Bank Rakyat Indonesia (BRI).</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>bank_code</code> (required): Bank code identifier<ul>\n<li>Examples: <code>bri</code>, <code>mandiri</code>, <code>bca</code></li>\n<li>Case insensitive</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"rate-types\">Rate Types</h3>\n<p>BRI provides:</p>\n<ul>\n<li><strong>tt-counter</strong>: Tellers counter rates</li>\n<li><strong>e-rate</strong>: Electronic rates</li>\n</ul>\n<h3 id=\"response-fields\">Response Fields</h3>\n<ul>\n<li><code>bank_code</code>: Bank identifier</li>\n<li><code>rate</code>: JSON object containing all rate types and currencies</li>\n<li><code>last_fetched_at</code>: Timestamp in Jakarta timezone (Unix milliseconds)</li>\n</ul>\n<h3 id=\"use-cases\">Use Cases</h3>\n<ul>\n<li>Currency exchange applications</li>\n<li>Bank rate comparison</li>\n<li>Financial dashboards</li>\n</ul>\n","urlObject":{"path":["api","bank-rates"],"host":["https://use.api.co.id"],"query":[{"description":{"content":"<p>Bank code (e.g., bri, mandiri, bca)</p>\n","type":"text/plain"},"key":"bank_code","value":"bri"}],"variable":[]}},"response":[{"id":"59a017cb-8e85-48aa-a480-e3f30b9b576f","name":"Success - BRI Rates","originalRequest":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","type":"text"}],"url":{"raw":"https://use.api.co.id/api/bank-rates?bank_code=bri","host":["https://use.api.co.id"],"path":["api","bank-rates"],"query":[{"key":"bank_code","value":"bri"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_success\": true,\n    \"message\": \"Success\",\n    \"data\": {\n        \"bank_code\": \"bri\",\n        \"rate\": {\n            \"tt-counter\": {\n                \"usd\": {\n                    \"buy\": 16975,\n                    \"sell\": 16675\n                },\n                \"eur\": {\n                    \"buy\": 20002.72,\n                    \"sell\": 19489.67\n                },\n                \"sgd\": {\n                    \"buy\": 13412.48,\n                    \"sell\": 12959.93\n                },\n                \"myr\": {\n                    \"buy\": 4476.19,\n                    \"sell\": 3954.82\n                }\n            },\n            \"e-rate\": {\n                \"usd\": {\n                    \"buy\": 16890,\n                    \"sell\": 16788\n                },\n                \"eur\": {\n                    \"buy\": 19881.463,\n                    \"sell\": 19716.1848\n                },\n                \"sgd\": {\n                    \"buy\": 13238.6398,\n                    \"sell\": 13123.8274\n                }\n            }\n        },\n        \"last_fetched_at\": 1737771218000\n    }\n}"}],"_postman_id":"955f2862-dbe3-405c-896f-2e7f56f8edfb"},{"name":"Get Bank Rate by Code - Mandiri","id":"48f904d3-fc88-420a-8912-de77327f4de9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","description":"<p>Your API key for authentication</p>\n","type":"text"}],"url":"https://use.api.co.id/api/bank-rates?bank_code=mandiri","description":"<p>Get exchange rate data for Bank Mandiri.</p>\n<h3 id=\"rate-types\">Rate Types</h3>\n<p>Mandiri provides:</p>\n<ul>\n<li><strong>special-rate</strong>: Special rates for specific currencies</li>\n<li><strong>tt-counter</strong>: Tellers counter rates</li>\n<li><strong>bank-notes</strong>: Bank notes rates</li>\n</ul>\n<h3 id=\"supported-currencies\">Supported Currencies</h3>\n<ul>\n<li>USD, EUR, GBP, AUD, CAD, CHF, CNY, HKD, JPY, MYR, NZD, SAR, SEK, SGD, THB, and more</li>\n</ul>\n<h3 id=\"use-cases\">Use Cases</h3>\n<ul>\n<li>Multi-bank rate comparison</li>\n<li>Best rate finder</li>\n<li>Currency exchange services</li>\n</ul>\n","urlObject":{"path":["api","bank-rates"],"host":["https://use.api.co.id"],"query":[{"description":{"content":"<p>Bank code for Bank Mandiri</p>\n","type":"text/plain"},"key":"bank_code","value":"mandiri"}],"variable":[]}},"response":[{"id":"8b8a84de-1453-4b6e-8a87-a684164013ac","name":"Success - Mandiri Rates","originalRequest":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","type":"text"}],"url":{"raw":"https://use.api.co.id/api/bank-rates?bank_code=mandiri","host":["https://use.api.co.id"],"path":["api","bank-rates"],"query":[{"key":"bank_code","value":"mandiri"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_success\": true,\n    \"message\": \"Success\",\n    \"data\": {\n        \"bank_code\": \"mandiri\",\n        \"rate\": {\n            \"special-rate\": {\n                \"usd\": {\n                    \"buy\": 16830,\n                    \"sell\": 16860\n                },\n                \"eur\": {\n                    \"buy\": 19792,\n                    \"sell\": 19846\n                },\n                \"sgd\": {\n                    \"buy\": 13155,\n                    \"sell\": 13193\n                }\n            },\n            \"tt-counter\": {\n                \"usd\": {\n                    \"buy\": 16620,\n                    \"sell\": 16920\n                },\n                \"eur\": {\n                    \"buy\": 19444,\n                    \"sell\": 19967\n                },\n                \"sgd\": {\n                    \"buy\": 12900,\n                    \"sell\": 13297\n                }\n            },\n            \"bank-notes\": {\n                \"usd\": {\n                    \"buy\": 16620,\n                    \"sell\": 16920\n                },\n                \"eur\": {\n                    \"buy\": 19444,\n                    \"sell\": 19967\n                }\n            }\n        },\n        \"last_fetched_at\": 1737771219000\n    }\n}"}],"_postman_id":"48f904d3-fc88-420a-8912-de77327f4de9"},{"name":"Get Bank Rate by Code - BCA","id":"2bce08dc-44f1-4101-baef-eaba7a1e387c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","description":"<p>Your API key for authentication</p>\n","type":"text"}],"url":"https://use.api.co.id/api/bank-rates?bank_code=bca","description":"<p>Get exchange rate data for Bank Central Asia (BCA).</p>\n<h3 id=\"rate-types\">Rate Types</h3>\n<p>BCA provides:</p>\n<ul>\n<li><strong>e-rate</strong>: Electronic rates</li>\n<li><strong>tt-counter</strong>: Tellers counter rates</li>\n<li><strong>bank-notes</strong>: Bank notes rates</li>\n</ul>\n<h3 id=\"features\">Features</h3>\n<ul>\n<li>Comprehensive currency coverage</li>\n<li>Multiple rate types for comparison</li>\n<li>Real-time updates</li>\n</ul>\n<h3 id=\"use-cases\">Use Cases</h3>\n<ul>\n<li>BCA-specific applications</li>\n<li>Rate comparison tools</li>\n<li>Financial services integration</li>\n</ul>\n","urlObject":{"path":["api","bank-rates"],"host":["https://use.api.co.id"],"query":[{"description":{"content":"<p>Bank code for Bank Central Asia</p>\n","type":"text/plain"},"key":"bank_code","value":"bca"}],"variable":[]}},"response":[{"id":"a782c13a-3c7d-4402-91ab-64f083a741c9","name":"Success - BCA Rates","originalRequest":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","type":"text"}],"url":{"raw":"https://use.api.co.id/api/bank-rates?bank_code=bca","host":["https://use.api.co.id"],"path":["api","bank-rates"],"query":[{"key":"bank_code","value":"bca"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_success\": true,\n    \"message\": \"Success\",\n    \"data\": {\n        \"bank_code\": \"bca\",\n        \"rate\": {\n            \"e-rate\": {\n                \"USD\": {\n                    \"buy\": 16790,\n                    \"sell\": 16850\n                },\n                \"EUR\": {\n                    \"buy\": 19855.92,\n                    \"sell\": 19939.42\n                },\n                \"SGD\": {\n                    \"buy\": 13192.55,\n                    \"sell\": 13259.03\n                }\n            },\n            \"tt-counter\": {\n                \"USD\": {\n                    \"buy\": 16673,\n                    \"sell\": 16973\n                },\n                \"EUR\": {\n                    \"buy\": 19551.55,\n                    \"sell\": 19955.55\n                },\n                \"SGD\": {\n                    \"buy\": 13029.2,\n                    \"sell\": 13274.2\n                }\n            },\n            \"bank-notes\": {\n                \"USD\": {\n                    \"buy\": 16705,\n                    \"sell\": 17005\n                },\n                \"EUR\": {\n                    \"buy\": 19600,\n                    \"sell\": 20002\n                },\n                \"SGD\": {\n                    \"buy\": 13034,\n                    \"sell\": 13278\n                }\n            }\n        },\n        \"last_fetched_at\": 1737772712000\n    }\n}"}],"_postman_id":"2bce08dc-44f1-4101-baef-eaba7a1e387c"},{"name":"Error - Bank Code Not Found","id":"baebdd1c-81d5-44b4-a1c1-283017b719bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","description":"<p>Your API key for authentication</p>\n","type":"text"}],"url":"https://use.api.co.id/api/bank-rates?bank_code=invalid","description":"<p>Example error response when bank code is not found.</p>\n<h3 id=\"error-response\">Error Response</h3>\n<p>Returns 404 status with error message indicating the bank code was not found.</p>\n","urlObject":{"path":["api","bank-rates"],"host":["https://use.api.co.id"],"query":[{"description":{"content":"<p>Invalid bank code</p>\n","type":"text/plain"},"key":"bank_code","value":"invalid"}],"variable":[]}},"response":[{"id":"e4c32328-43ee-4281-9c74-218ceec03ab9","name":"Error - Bank Code Not Found","originalRequest":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","type":"text"}],"url":{"raw":"https://use.api.co.id/api/bank-rates?bank_code=invalid","host":["https://use.api.co.id"],"path":["api","bank-rates"],"query":[{"key":"bank_code","value":"invalid"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_success\": false,\n    \"message\": \"bank rate not found for bank_code: invalid\",\n    \"errors\": \"\"\n}"}],"_postman_id":"baebdd1c-81d5-44b4-a1c1-283017b719bf"},{"name":"Error - Missing Bank Code Parameter","id":"bc39335c-c31f-47ac-8dc0-bfa3587ccb32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","description":"<p>Your API key for authentication</p>\n","type":"text"}],"url":"https://use.api.co.id/api/bank-rates","description":"<p>Example error response when bank_code query parameter is missing.</p>\n<h3 id=\"error-response\">Error Response</h3>\n<p>Returns 400 status with error message indicating the bank_code parameter is required.</p>\n","urlObject":{"path":["api","bank-rates"],"host":["https://use.api.co.id"],"query":[],"variable":[]}},"response":[{"id":"3bc77edb-6d00-417a-94a5-c0f6344950f3","name":"Error - Missing Bank Code","originalRequest":{"method":"GET","header":[{"key":"x-api-co-id","value":"your_api_key_here","type":"text"}],"url":"https://use.api.co.id/api/bank-rates"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_success\": false,\n    \"message\": \"bank_code query parameter is required (e.g., ?bank_code=BCA)\",\n    \"errors\": \"\"\n}"}],"_postman_id":"bc39335c-c31f-47ac-8dc0-bfa3587ccb32"}],"id":"2fbccf2a-21cf-4a86-b02d-bc9cdf64bdc2","description":"<p>Endpoints for accessing Indonesian bank exchange rate data.</p>\n","_postman_id":"2fbccf2a-21cf-4a86-b02d-bc9cdf64bdc2"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"4c2c94aa-4a81-4455-ad46-706ed2c8447b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"48b06221-cc44-4b2b-b845-e10a1bd52e5e"}}],"variable":[{"key":"base_url","value":"https://use.api.co.id","type":"string","description":"Base URL for the API"},{"key":"api_key","value":"your_api_key_here","type":"string","description":"Your API key for authentication"}]}