{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"6c56828b-54cd-4dd4-9239-252a40f6f924","catalogType":"api","categories":["developer","data"],"dataPlatform":"bitbucket","dataPlatformLogoUrl":"https://api.sh/logos/bitbucket.png","dataPlatformTranslations":{},"dataProduct":"dev-reference","description":"Get Bitbucket Repositories data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, workspace, and retrieve structured data including queried Bitbucket workspace identifier, workspace and repository slug, public repository description, primary programming language, and configured main branch name for inventory organization codebases, filter by stack or project, and chain into detail queries.","descriptionTranslations":{"ar":"اعرض المستودعات العامة ضمن مساحة عمل Bitbucket عبر OpenAny REST لجرد المشاريع أو التصفية حسب اللغة أو اختيار مستودعات للفحص. أرسل معرف مساحة العمل أو رابطها مع خيارات البحث بالاسم واللغة ومفتاح المشروع والترتيب لاستلام الملخصات والفروع الرئيسية وروابط الاستنساخ.","ja":"OpenAny REST で Bitbucket ワークスペース内の公開リポジトリ一覧を取得し、資産棚卸しや言語別フィルタリング、調査対象の抽出に活用できます。ワークスペース ID または URL に、名前検索、言語、プロジェクトキー、並び順を指定して概要とクローン URL を取得できます。","zh":"通过 OpenAny REST 列出 Bitbucket 指定工作区下的公开仓库，用于盘点项目、按语言筛选或确定待检仓库。提交工作区 ID 或链接，并可附加名称搜索、语言、项目键和排序参数，返回仓库摘要、主分支及克隆链接。"},"effectContentHtml":"","executionMode":"sync","id":"b8f80d40-7a02-487d-beb7-c27abbbd842f","includedContentHtml":"","inputs":[{"description":"Workspace id (the first part of a bitbucket.org link) or a link.","location":"query","name":"workspace","nullable":false,"required":true,"type":"string"},{"description":"Only repositories whose name contains this.","location":"query","name":"q","nullable":false,"required":false,"type":"string"},{"description":"Only this language, e.g. java or python.","location":"query","name":"language","nullable":false,"required":false,"type":"string"},{"description":"Only this project key (from `/bitbucket/v1/workspace`).","location":"query","name":"project","nullable":false,"required":false,"type":"string"},{"description":"Sort order (default -updated_on).","enum_values":["-updated_on","updated_on","-created_on","created_on","name","-name","-size","size"],"location":"query","name":"sort","nullable":false,"required":false,"type":"string"},{"description":"Page number (default 1). Pass `next_page` back as `page`; null on the last page.","location":"query","name":"page","nullable":false,"required":false,"type":"integer"},{"description":"Results per page, 1-100 (default 25).","location":"query","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"Native CSV/NDJSON record selector; it has no effect on this JSON-only product.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/bitbucket.png","method":"GET","name":"Bitbucket repositories API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eBitbucket Repositories API\u003c/h2\u003e\n\u003cp\u003eProvide workspace (the workspace slug or bitbucket.org link) and optionally filter with q (substring match on repository name), language, project key, sort (default -updated_on), page and limit (1–100, default 25). Returned items list repository metadata and links.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired query: workspace. Optional q (name substring), language, project (project key), sort (default -updated_on), page, limit (1–100, default 25), raw=0, fields and fresh=1.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · Bitbucket repositories API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eInventory organization codebases\u003c/strong\u003e: Enumerate public repositories under a Bitbucket workspace with main branches and update dates.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eFilter by stack or project\u003c/strong\u003e: Combine language and project key filters to isolate relevant repositories inside large workspaces.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eChain into detail queries\u003c/strong\u003e: Feed returned full_name values into the Bitbucket Repository, Pipelines or Source APIs.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eworkspace\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eQueried Bitbucket workspace identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erepositories[].full_name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWorkspace and repository slug\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erepositories[].description\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePublic repository description\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erepositories[].language\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrimary programming language\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erepositories[].mainbranch\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eConfigured main branch name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erepositories[].project.key\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBitbucket project key\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erepositories[].updated_at\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eLast update timestamp\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erepositories[].url\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBitbucket repository web URL\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_page\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNext page number, or null on the final page\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/bitbucket/v1/repositories \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode output=json \\\n  --data-urlencode workspace=atlassian\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/b8f80d40-7a02-487d-beb7-c27abbbd842f\"\u003ePublished Bitbucket Repositories API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhat does the q parameter search?\u003c/h3\u003e\n\u003cp\u003eq filters to repositories whose name contains the provided string inside the chosen workspace.\u003c/p\u003e\n\u003ch3\u003eWhere do I get a valid project key?\u003c/h3\u003e\n\u003cp\u003ePass the Bitbucket project key reported in workspace or repository metadata (for example from project.key).\u003c/p\u003e\n\u003ch3\u003eHow are repositories sorted by default?\u003c/h3\u003e\n\u003cp\u003eResults default to sort=-updated_on (most recently updated first).\u003c/p\u003e\n\u003ch3\u003eHow do I paginate through a large workspace?\u003c/h3\u003e\n\u003cp\u003eUse page (default 1) and limit (1–100, default 25), passing next_page back as page until it is null.\u003c/p\u003e\n\u003ch3\u003eWill this return private repositories in the workspace?\u003c/h3\u003e\n\u003cp\u003eNo. This operation lists public workspace repositories and does not accept buyer Bitbucket credentials.\u003c/p\u003e\n\u003ch3\u003eHow do I skip cached results or reduce payload size?\u003c/h3\u003e\n\u003cp\u003eSet fresh=1 to bypass the 24-hour cache, raw=0 to drop bulky raw blocks, or fields to pick specific keys.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/bitbucket/bitbucket-pipelines-api\"\u003eBitbucket Pipelines API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/bitbucket/bitbucket-pull-request-api\"\u003eBitbucket Pull Request API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/bitbucket/bitbucket-repository-api\"\u003eBitbucket Repository API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/bitbucket/bitbucket-repositories-api?offering=b8f80d40-7a02-487d-beb7-c27abbbd842f","providerId":"apish","publicPath":"/v1/agent-apis/apish/bitbucket/v1/repositories","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"output":"json","workspace":"atlassian"}},"response_body":{"applied_filters":{"language":null,"project":null,"q":null,"sort":"-updated_on"},"cached":false,"count":25,"credits_used":1,"next_page":2,"page":1,"repositories":[{"avatar":"https://bytebucket.org/ravatar/%7Ba99dd3ed-354c-4216-b725-78c7571df383%7D?ts=java","clone_urls":[{"href":"https://bitbucket.org/atlassian/bamboo-specs.git","name":"https"},{"href":"name@example.com:atlassian/bamboo-specs.git","name":"ssh"}],"created_at":"2017-03-06T14:42:41.710185+00:00","description":null,"fork_policy":"allow_forks","full_name":"atlassian/bamboo-specs","has_issues":false,"has_wiki":false,"is_private":false,"language":"java","mainbranch":"master","name":"bamboo-specs","owner":{"avatar":"https://bitbucket.org/account/atlassian/avatar/","display_name":"Atlassian","nickname":"atlassian","type":"team","url":"https://bitbucket.org/%7B02b941e3-cfaa-40f9-9a58-cec53e20bdc3%7D/","uuid":"{02b941e3-cfaa-40f9-9a58-cec53e20bdc3}"},"parent":null,"project":{"key":"BAM","name":"BAMBOO"},"scm":"git","size_bytes":11567673,"slug":"bamboo-specs","updated_at":"2026-11-06T07:12:02.687645+00:00","url":"https://bitbucket.org/atlassian/bamboo-specs","uuid":"{a99dd3ed-354c-4216-b725-78c7571df383}","website":"https://docs.atlassian.com/bamboo-specs-docs/latest/","workspace":"atlassian"},{"avatar":"https://bytebucket.org/ravatar/%7B9a1dc830-b3e8-4cb1-bbf1-7bbc9a5d9c05%7D?ts=java","clone_urls":[{"href":"https://bitbucket.org/atlassian/atlassian-selenium.git","name":"https"},{"href":"name@example.com:atlassian/atlassian-selenium.git","name":"ssh"}],"created_at":"2012-10-13T05:50:51.853979+00:00","description":"Common library to make writing Selenium tests easier\r\n\r\nhttps://ecosystem.atlassian.net/browse/SELENIUM","fork_policy":"allow_forks","full_name":"atlassian/atlassian-selenium","has_issues":false,"has_wiki":false,"is_private":false,"language":"java","mainbranch":"master","name":"atlassian-selenium","owner":{"avatar":"https://bitbucket.org/account/atlassian/avatar/","display_name":"Atlassian","nickname":"atlassian","type":"team","url":"https://bitbucket.org/%7B02b941e3-cfaa-40f9-9a58-cec53e20bdc3%7D/","uuid":"{02b941e3-cfaa-40f9-9a58-cec53e20bdc3}"},"parent":null,"project":{"key":"SFP","name":"DC Frontend Platform"},"scm":"git","size_bytes":10488715,"slug":"atlassian-selenium","updated_at":"2026-11-06T07:04:44.140842+00:00","url":"https://bitbucket.org/atlassian/atlassian-selenium","uuid":"{9a1dc830-b3e8-4cb1-bbf1-7bbc9a5d9c05}","website":null,"workspace":"atlassian"},"… 23 more"],"total":406,"workspace":"atlassian"}}],"seoDescription":"Get Bitbucket Repositories data via REST or MCP powered by Apish. Pay per call, no subscription. Built for inventory organization codebases workflows.","updatedAt":"2026-12-03T02:54:59.490Z","usageInstructionsHtml":""}}