Bitbucket repository API

Use the Bitbucket repository API to retrieve repository metadata, identifiers and public project information. Provide workspace/repository name (repo). Repository details describe the public project and its distribution or collaboration references; the metadata is useful for identifying the codebase before separately requesting files, issues or build records. Check repository identity and default branch, inspect published project settings and retain clone or project links. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.

Selected price
$0.002 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Repository as workspace/repo, or a bitbucket.org link.
Optional parameters (5)
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Sample response

{
  "avatar": "https://bytebucket.org/ravatar/%7B585074de-7b60-4fd1-81ed-e0bc7fafbda5%7D?ts=86317",
  "cached": false,
  "clone_urls": [
    {
      "href": "https://bitbucket.org/atlassian/aui.git",
      "name": "https"
    },
    {
      "href": "[email protected]:atlassian/aui.git",
      "name": "ssh"
    }
  ],
  "created_at": "2011-10-20T03:33:16.840807+00:00",
  "credits_used": 1,
  "description": "AUI - Atlassian User Interface library.",
  "fork_count": 0,
  "fork_policy": "allow_forks",
  "full_name": "atlassian/aui",
  "has_issues": false,
  "has_wiki": false,
  "is_private": false,
  "language": "javascript",
  "mainbranch": "master",
  "name": "aui",
  "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": 155031915,
  "slug": "aui",
  "updated_at": "2026-11-05T09:23:39.322632+00:00",
  "url": "https://bitbucket.org/atlassian/aui",
  "uuid": "{585074de-7b60-4fd1-81ed-e0bc7fafbda5}",
  "watcher_count": 4,
  "website": "http://docs.atlassian.com/aui/latest/",
  "workspace": "atlassian"
}

Response result

Response structure

Inferred from examples
  • avatarstring
  • cachedboolean
  • clone_urlsobject[]
    • hrefstring
    • namestring
  • created_atstring
  • credits_usedinteger
  • descriptionstring
  • fork_countinteger
  • fork_policystring
  • full_namestring
  • has_issuesboolean
  • has_wikiboolean
  • is_privateboolean
  • languagestring
  • mainbranchstring
  • namestring
  • ownerobject
    • avatarstring
    • display_namestring
    • nicknamestring
    • typestring
    • urlstring
    • uuidstring
  • parentnull
  • projectobject
    • keystring
    • namestring
  • scmstring
  • size_bytesinteger
  • slugstring
  • updated_atstring
  • urlstring
  • uuidstring
  • watcher_countinteger
  • websitestring
  • workspacestring

Loading related APIs…

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Bitbucket repository API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.