{"id":41464099,"url":"https://github.com/coinbase-samples/intx-sdk-py","last_synced_at":"2026-01-23T16:17:58.053Z","repository":{"id":255491492,"uuid":"846109082","full_name":"coinbase-samples/intx-sdk-py","owner":"coinbase-samples","description":"Sample Python SDK for the Coinbase International Exchange REST APIs","archived":false,"fork":false,"pushed_at":"2025-11-14T18:31:57.000Z","size":165,"stargazers_count":8,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-14T20:36:53.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.cdp.coinbase.com/intx/reference/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coinbase-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-22T14:47:35.000Z","updated_at":"2025-10-22T01:04:26.000Z","dependencies_parsed_at":"2024-09-05T19:29:37.648Z","dependency_job_id":"18237014-ca2f-4d2f-9592-a5c048cafe8a","html_url":"https://github.com/coinbase-samples/intx-sdk-py","commit_stats":null,"previous_names":["coinbase-samples/intx-sdk-py"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/coinbase-samples/intx-sdk-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase-samples%2Fintx-sdk-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase-samples%2Fintx-sdk-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase-samples%2Fintx-sdk-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase-samples%2Fintx-sdk-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coinbase-samples","download_url":"https://codeload.github.com/coinbase-samples/intx-sdk-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase-samples%2Fintx-sdk-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28695529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T15:57:05.722Z","status":"ssl_error","status_checked_at":"2026-01-23T15:56:27.656Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-23T16:17:57.304Z","updated_at":"2026-01-23T16:17:58.039Z","avatar_url":"https://github.com/coinbase-samples.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coinbase International Exchange (INTX) Python SDK\n\n## Overview\n\nThe *INTX Python SDK* is a sample library that demonstrates the usage of the [Coinbase International Exchange (INTX)](https://international.coinbase.com/) API via its [REST APIs](https://docs.cdp.coinbase.com/intx/reference). This SDK provides a structured way to integrate Coinbase INTX functionalities into your Python applications.\n## License\n\nThe *INTX Python SDK* sample library is free and open source and released under the [Apache License, Version 2.0](LICENSE).\n\nThe application and code are only available for demonstration purposes.\n\n## Installation\n\n```bash\npip install intx-sdk-py\n```\n\nOr install from source:\n\n```bash\ngit clone https://github.com/coinbase-samples/intx-sdk-py.git\ncd intx-sdk-py\npip install -e .\n```\n\n## Authentication\n\nTo use the INTX Python SDK, you will need to create API credentials in the [INTX web console](https://international.coinbase.com/) under Settings -\u003e API.\n\nCredentials can be stored as environment variables or passed directly. The SDK supports two initialization patterns:\n\n### Using .env.example (Recommended)\n\nCopy the example file to `.env` and then fill in your credentials:\n\n```bash\ncp .env.example .env\n# then edit .env and set your values\n```\n\nInitialize the client:\n\n```python\nfrom intx_sdk import IntxServicesClient\n\nclient = IntxServicesClient.from_env()\n```\n\n### Using Credentials Object\n\n```python\nfrom intx_sdk import IntxServicesClient\nfrom intx_sdk.credentials import Credentials\n\ncredentials = Credentials(\n    access_key=\"your-access-key\",\n    passphrase=\"your-passphrase\",\n    signing_key=\"your-signing-key\"\n)\n\nclient = IntxServicesClient(credentials)\n```\n\n## Environment Configuration\n\nBy default, the SDK uses the production environment. To use a different environment, set the `INTX_BASE_URL` environment variable:\n\n```bash\n# Use sandbox environment\nexport INTX_BASE_URL=https://api-n5e1.coinbase.com/api/v1\n\n# Or use production (default)\nexport INTX_BASE_URL=https://api.international.coinbase.com/api/v1\n```\n\nAlternatively, you can use the exported constants:\n\n```python\nfrom intx_sdk import IntxServicesClient, SANDBOX_BASE_URL, PRODUCTION_BASE_URL\n\n# Use sandbox\nclient = IntxServicesClient.from_env(base_url=SANDBOX_BASE_URL)\n\n# Use production (or omit base_url parameter for default)\nclient = IntxServicesClient.from_env(base_url=PRODUCTION_BASE_URL)\n\n# Use custom URL\nclient = IntxServicesClient.from_env(base_url=\"https://custom.api.com/v1\")\n```\n\n## Usage\n\n```python\nfrom intx_sdk import IntxServicesClient\nfrom intx_sdk.services.portfolios import ListPortfoliosRequest\n\nclient = IntxServicesClient.from_env()\n\n# List portfolios\nrequest = ListPortfoliosRequest()\nresponse = client.portfolios.list_portfolios(request)\nprint(response)\n```\n\nFor more examples, see the [examples](examples/) directory.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinbase-samples%2Fintx-sdk-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoinbase-samples%2Fintx-sdk-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinbase-samples%2Fintx-sdk-py/lists"}