Software Alternatives, Accelerators & Startups

Retrofit

Retrofit is a type-safe HTTP client for Android and Java.

Retrofit

Retrofit Reviews and Details

This page is designed to help you find out whether Retrofit is good and if it is the right choice for you.

Screenshots and images

  • Retrofit Landing page
    Landing page //
    2021-09-19

Features & Specs

  1. Easy to Use

    Retrofit provides a simple and intuitive API for making HTTP requests, making it easy to integrate with your Android applications.

  2. Type-Safe HTTP Calls

    With Retrofit, HTTP requests are made using method calls, and responses are automatically converted to Java objects. This type safety helps reduce errors in making network calls.

  3. Flexible and Extensible

    Retrofit supports a variety of converters (like Gson, Jackson, Moshi, Protobuf), adapters (like RxJava, Kotlin Coroutines), and other customizations, making it highly adaptable to various needs.

  4. Annotation-Based Configuration

    Annotations like @GET, @POST, and @Query make defining APIs more declarative and concise, reducing boilerplate code.

  5. Built-In Support for Pagination

    Retrofit's integration with libraries like Paging makes it straightforward to implement paginated data loading.

  6. Integration with OkHttp

    Retrofit seamlessly integrates with OkHttp, which provides caching, connection pooling, and HTTP/2 support, thus enhancing performance and reliability.

Badges

Promote Retrofit. You can add any of these badges on your website.

SaaSHub badge
Show embed code
SaaSHub badge
Show embed code

Videos

Sep.30 Patch Analysis and Yuudachi Retrofit Review

Ring Retrofit Alarm Kit Review - Setup and Installation

Retrofit Hookah (Optima) Review - EPISODE 9 (RHS)

Social recommendations and mentions

We have tracked the following product recommendations or mentions on various public social media platforms and blogs. They can help you see what people think about Retrofit and what they use it for.
  • Energy-Efficient Schema-Driven Development with Spring WebMVC/WebFlux
    At first, I thought it was just a knockoff of Retrofit (sorry...), but it turns out you can also use it as a controller interface. The *Exchange annotations in the earlier example come from this HTTP Interface. - Source: dev.to / over 1 year ago
  • Using Retrofit Interceptors to check network connection in Android and testing it
    From this point on, I will assume, you have a basic understanding of Retrofit. To get the most out of this tutorial I would actually suggest you have a retrofit client already implemented in your application. - Source: dev.to / over 2 years ago
  • Lets make a Twitch Android app. Part 1. App access tokens
    Now you might think that in order to make the request we are going to use Retrofit but in reality we are going to be sending out an implicit intent like so:. - Source: dev.to / about 3 years ago
  • Using OAuth2.0 and Retrofit to talk to the GitHub api on Android
    This particular blog post will be us building on the information from the previous blog post and using the authorization code from the GitHub OAuth API in combination with Retrofit. To finally get a access token, which allows us to make requests to the API on a behalf of a user. - Source: dev.to / about 3 years ago
  • Show HN: Turn Your APIs into Swift Protocols
    Hey HN! If you're a fan of Swift you may have noticed that with WWDC 2023 came the (beta) release of macros. They're super powerful and expressive! I've been wishing Swift had a [Retrofit](https://square.github.io/retrofit/) style API definition library for years, and with macros it seemed like this was now possible. I'd like to show you all Papyrus, a library that turns your APIs into type-safe Swift protocols.... - Source: Hacker News / about 3 years ago
  • Looking for android java developer mentor
    When it comes to consuming APIs I can definitely recommend Retrofit. Hopefully that's enough to get you started on where to look! Source: about 3 years ago
  • Akka-HTTP in android
    For Android you should use a more mobile friendly framework like Retrofit or if you use Kotlin you can use the multi-platform Ktor library with it's client module. Source: over 3 years ago
  • Google play closed testing
    For example https://square.github.io/retrofit/ have mentioned it in at the bottom. Similarly there maybe other rules for other dependencies. Usually I search the missing classes error in google and find some proguard rule for it. Source: over 3 years ago
  • What stack to use for app with functionality like event calendar?
    Retrofit in combination with OkHttp for fetching data from server (which hopefully already exists). Source: over 3 years ago
  • Connecting an API (Java Spring) to an Android application
    The first get request is to retrieve a list of objects and the second one is to get a single one. You can read more about RetroFit here. - Source: dev.to / over 3 years ago
  • Moving from iOS development and I have a question about finding dependencies
    So I've been playing around with search.maven.org and perhaps I'm not quite understanding it. For example, if I look for Retrofit I'm not seeing anything that resembles retrofit above https://central.sonatype.dev/search?q=Retrofit. Source: over 3 years ago
  • Using Circuit Breaker Pattern with Kotlin, Resilience4j and Retrofit
    I won't give many details about Retrofit, for that, I recommend to read the documentation: https://square.github.io/retrofit/. - Source: dev.to / almost 4 years ago
  • Retrofit path problem!
    Remove the whole criteria string from the endpoint. Refer to this documentation: https://square.github.io/retrofit/ Look for query parameters. Source: almost 4 years ago
  • How to set timeout in Retrofit library?
    I am using Retrofit library in my app, and I'd like to set a timeout of 60 seconds. Does Retrofit have some way to do this? Source: almost 4 years ago
  • Consuming a REST API using just vanilla Java!
    I had a decent experience with Retrofit in the past, but that was a couple of years ago, idk if there are better tools now. Source: almost 4 years ago
  • How do you consume an API in Spring world?
    I like to use https://square.github.io/retrofit/. Source: almost 4 years ago
  • App Flow of an Android App?
    Your app would request data from the backend inside it's domain layer. As the other commenter mentioned, Retrofit is a commonly used library for interfacing with REST APIs, which is built on top of OkHttp (a more generic HTTP client). Source: about 4 years ago
  • Retrofit - Generate REST APIs for your functions
    I looked it up and couldn't find a good crate for rust, but I found something that looked similar for Java called Retrofit made by Square: https://square.github.io/retrofit/. Source: over 4 years ago
  • Converting AyncTask to RxJava
    You'd be better off using Retrofit to request your data and Moshi to parse the JSON. Retrofit has built-in support for rx and coroutines. Source: over 4 years ago
  • What are the most common used (3rd party) libraries and frameworks used in Android development?
    Networking: Retrofit for APIs, OkHttp for HTTP stack. Source: over 4 years ago
  • Adventures in Tracking Upload Progress With OkHttp and Retrofit
    First things first, let's see how you can upload a file to an API using Retrofit. Most APIs will expect a multipart form to contain the file data. You can declare a method inside a Retrofit interface like the one below to support that operation:. - Source: dev.to / over 4 years ago

Do you know an article comparing Retrofit to other products?
Suggest a link to a post with product alternatives.

Suggest an article

Retrofit discussion

Log in or Post with

Is Retrofit good? This is an informative page that will help you find out. Moreover, you can review and discuss Retrofit here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.