---
title: "Get a public repository"
description: "Look up the full name, web URL, and default branch of a public GitHub repository."
openapi: "GET /repos/{owner}/{repo}"
---

Try `octocat` as the owner and `Hello-World` as the repository. No token is required for this public example.
