# Using MiniProfiler for REST APIs

**URL:** <https://community.miniprofiler.com/t/using-miniprofiler-for-rest-apis/101>\
**Category:** uncategorized\
**Created:** [July 19, 2012, 8:09am UTC](https://community.miniprofiler.com/t/using-miniprofiler-for-rest-apis/101 "2012-07-19T08:09:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Hauck](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/matt_hauck/32/1026_2.png) [@Matt\_Hauck](https://community.miniprofiler.com/u/Matt_Hauck)\
**Post date:** [July 19, 2012, 8:09am UTC](https://community.miniprofiler.com/t/using-miniprofiler-for-rest-apis/101/1 "2012-07-19T08:09:13Z")

</div>

I wonder if there is a way to use MiniProfiler not just for pages that are viewable in a browser, but also for some backend APIs that my server is supporting as well. Given these don’t run in a browser, is there a way to have MiniProfiler output its results to disk so I can view them after-the-fact?

---

<div class="post-metadata">

**Author:** ![robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@robert](https://community.miniprofiler.com/u/robert)\
**Post date:** [July 19, 2012, 9:15am UTC](https://community.miniprofiler.com/t/using-miniprofiler-for-rest-apis/101/2 "2012-07-19T09:15:40Z")

</div>

Haven’t tried it myself (admittedly I’ve worked with it all of a day) but have you looked at [Using Miniprofiler in a UI-less mode](http://community.miniprofiler.com/permalinks/15/using-miniprofiler-in-a-ui-less-mode)? I think this would be great for MVC 4 Web API, personally.

---

<div class="post-metadata">

**Author:** ![sam](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/sam/32/377_2.png) [@sam](https://community.miniprofiler.com/u/sam)\
**Post date:** [July 20, 2012, 1:37am UTC](https://community.miniprofiler.com/t/using-miniprofiler-for-rest-apis/101/3 "2012-07-20T01:37:05Z")

</div>

there are 2 different answers depending on if it is Ruby or .NET, regardless you can always elect to implement your own storage and navigate it later
