The apalike (APA like) BibTeX style belongs to the extended set of standard BibTeX styles. It's called APA like since it does not implement the full APA citation rules. That's because some fields like translator do not belong to the standard fields that are supported in BibTeX.
\documentclass[a4paper,10pt]{article}
\begin{document}
This is an example of a paragraph with in-text
citations using the apalike BibTeX style.
Here is a reference to a journal article with
a single author \cite{article1}, to a journal
article with two authors \cite{article2} and
three authors \cite{article3}, and to a book
with four authors \cite{book4}.
\bibliographystyle{apalike}
\bibliography{sampleBibFile}
\end{document}