{"id":36696806,"url":"https://github.com/rafnixg/bcv-api","last_synced_at":"2026-01-12T11:32:52.599Z","repository":{"id":232311429,"uuid":"784012417","full_name":"rafnixg/bcv-api","owner":"rafnixg","description":"BCV Exchange rate: This API is used to get the exchange rate of the BCV (Central Bank of Venezuela)","archived":false,"fork":false,"pushed_at":"2025-12-13T21:02:45.000Z","size":1051,"stargazers_count":16,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-15T16:30:23.145Z","etag":null,"topics":["bcv","exchange-api","exchange-rate","exchange-rates","python","venezuela"],"latest_commit_sha":null,"homepage":"https://rafnixg.github.io/bcv-api/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafnixg.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-04-09T02:26:47.000Z","updated_at":"2025-12-13T21:02:32.000Z","dependencies_parsed_at":"2024-04-09T03:30:00.815Z","dependency_job_id":"65e971d9-0e09-42af-a94d-7b374ac3067f","html_url":"https://github.com/rafnixg/bcv-api","commit_stats":null,"previous_names":["rafnixg/bcv-api"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rafnixg/bcv-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafnixg%2Fbcv-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafnixg%2Fbcv-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafnixg%2Fbcv-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafnixg%2Fbcv-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafnixg","download_url":"https://codeload.github.com/rafnixg/bcv-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafnixg%2Fbcv-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bcv","exchange-api","exchange-rate","exchange-rates","python","venezuela"],"created_at":"2026-01-12T11:32:51.990Z","updated_at":"2026-01-12T11:32:52.593Z","avatar_url":"https://github.com/rafnixg.png","language":"Python","funding_links":[],"categories":["Finanzas"],"sub_categories":[],"readme":"# BCV Exchange Rate API\n\n[![Python](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/)\n[![FastAPI](https://img.shields.io/badge/FastAPI-0.110.1-009688.svg?logo=fastapi)](https://fastapi.tiangolo.com)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![GitHub stars](https://img.shields.io/github/stars/rafnixg/bcv-api.svg?style=social\u0026label=Star)](https://github.com/rafnixg/bcv-api)\n[![GitHub issues](https://img.shields.io/github/issues/rafnixg/bcv-api.svg)](https://github.com/rafnixg/bcv-api/issues)\n[![Publish Docker Image](https://github.com/rafnixg/bcv-api/actions/workflows/docker-image.yml/badge.svg?branch=main)](https://github.com/rafnixg/bcv-api/actions/workflows/docker-image.yml)\n[![Documentation](https://github.com/rafnixg/bcv-api/actions/workflows/docs.yml/badge.svg?branch=main)](https://github.com/rafnixg/bcv-api/actions/workflows/docs.yml)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/rafnixg/bcv-api)\n## Documentation\n\n[https://rafnixg.github.io/bcv-api/](https://rafnixg.github.io/bcv-api/)\n\n## Description\nThis API is used to get the exchange rate of the BCV (Central Bank of Venezuela).\nThis API is a simple REST API that returns the exchange rate of the BCV in JSON format.\n\n## Quick Usage\n\n### Get Latest Rate\n```bash\ncurl https://bcv-api.rafnixg.dev/rates/\n```\n\n### Get Rate for Specific Date\n```bash\ncurl https://bcv-api.rafnixg.dev/rates/2025-08-20\n```\n\n### Get Rate History (Last 30 Days)\n```bash\ncurl https://bcv-api.rafnixg.dev/rates/history\n```\n\n### Get Rate History for Date Range\n```bash\ncurl \"https://bcv-api.rafnixg.dev/rates/history?start_date=2025-02-15\u0026end_date=2025-03-15\"\n```\n\nFor complete API documentation visit: [https://bcv-api.rafnixg.dev/docs](https://bcv-api.rafnixg.dev/docs)\n\n## Installation\n1. Clone the repository and create a `.env` file in the root of the project, use `.env.example` as a template\n    Remember to replace the values of the variables with your own values.\n```bash\ngit clone https://github.com/rafnixg/bcv-api.git\ncd bcv-api\ncp .env.example .env\n```\n2. Create a virtual environment\n```bash\npython -m venv venv\n```\n3. Activate the virtual environment\n```bash\n# Windows\nvenv\\Scripts\\activate\n# Linux\nsource venv/bin/activate\n```\n4. Install the dependencies\n```bash\npip install -r requirements.txt\n```\n5. Run the API\n```bash\nuvicorn bcv_api.main:app --reload\n```\n6. Open your browser and go to http://localhost:8000\n\n\n## Using Docker\n\n1. Clone the repository and create a `.env` file in the root of the project, use `.env.example` as a template\n    Remember to replace the values of the variables with your own values.\n```bash\ngit clone\ncd bcv-api\ncp .env.example .env\n```\n\n2. Build the image with the Dockerfile, select the Dockerfile.newrelic file if you want to monitor the application with NewRelic\n```bash\n# Without newrelic monitoring\ndocker build -t bcv-api .\n\n# With newrelic monitoring\ndocker build -t bcv-api -f Dockerfile.newrelic .\n```\n\n3. Run the container\n```bash\ndocker run -d --name bcv-api -p 8000:8000 --env-file .env bcv-api:latest\n```\n\n4. Open your browser and go to http://localhost:8000\n\n## Built With\n- [Python](https://www.python.org/)\n- [FastAPI](https://fastapi.tiangolo.com/)\n- [Pydantic](https://pydantic-docs.helpmanual.io/)\n- [Requests](https://docs.python-requests.org/en/master/)\n- [BeautifulSoup4](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)\n\n## Author\n- **Rafnix Guzmán** - [rafnixg](https://links.rafnixg.dev?ref=bcv-api)\n\n\n## License\nThis project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafnixg%2Fbcv-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafnixg%2Fbcv-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafnixg%2Fbcv-api/lists"}