Public Database

High-speed cache built for instant and seamless access to our massive library.

API Documentation

Here's a quick overview of how our tiered caching works to deliver data to you as quick as possible.

6,509 indexed files 13 categories
How to Use

Start every request with the base endpoint and pass a category using the category parameter. Once a category is selected, you can optionally add more parameters to narrow down the results.

https://www.codefling.com/db?category=[CATEGORY_ID]

You can use a single category ID, multiple category IDs separated by commas, or all to search everything. Responses are returned as JSON and can be consumed directly in your applications, dashboards, or scripts.

Good to Know

The API reads from cached category data for fast responses. Category requests are required, and additional filters are applied on top of the selected categories only.

https://www.codefling.com/db?category=[CATEGORY_ID1,CATEGORY_ID2]
https://www.codefling.com/db?category=all
Fast lookups

Use a specific category when possible for smaller and faster result sets.

Filter stacking

You can combine multiple filters in one request, such as category, author, tags, and limit.

Future-proof

Using category=all will automatically include future category additions.

Common Patterns

These examples cover the most common API usage patterns and show how multiple filters can be combined in a single request.

https://www.codefling.com/db?category=all&limit=25
https://www.codefling.com/db?category=[VALUE]&author=ExampleAuthor&paid
https://www.codefling.com/db?category=[VALUE]&tags=ExampleTag1,ExampleTag2&onsale
Parameters

Detailed information about the available API parameters, along with examples to help you integrate with the Codefling API more effectively.

Parameter: ?id=[VALUE]

Description: Filters and displays data where id equals the provided value.

Example:

https://www.codefling.com/db?category=[VALUE]&id=1

Parameter: ?limit=[VALUE]

Description: Limits the number of results returned. If not provided, all results are returned.

Example:

https://www.codefling.com/db?category=[VALUE]&limit=100

Parameter: ?title=[VALUE]

Description: Filters and displays data where title equals the provided value.

Example:

https://www.codefling.com/db?category=[VALUE]&title=ExampleTitle

Parameter: ?author=[VALUE]

Description: Filters and displays data where author equals the provided value.

Example:

https://www.codefling.com/db?category=[VALUE]&author=ExampleAuthor

Parameter: ?paid

Description: Filters and displays data where the entry is paid.

Example:

https://www.codefling.com/db?category=[VALUE]&paid

Parameter: ?tags=[VALUE]

Description: Filters and displays data where tags include the provided value or values. Multiple tags can be used, separated by a comma.

Example:

https://www.codefling.com/db?category=[VALUE]&tags=ExampleTag1,ExampleTag2

Parameter: ?rating=[VALUE]

Description: Filters and displays data where rating equals the provided value.

Example:

https://www.codefling.com/db?category=[VALUE]&rating=5

Parameter: ?compatibility=[VALUE]

Description: Filters and displays data where compatibility equals the provided value.

Example:

https://www.codefling.com/db?category=[VALUE]&compatibility=1

Parameter: ?featured

Description: Filters and displays data where the entry is featured.

Example:

https://www.codefling.com/db?category=[VALUE]&featured

Parameter: ?filename=[VALUE]

Description: Filters and displays data where the filename matches the provided value. The filename comparison is case-insensitive.

Example:

https://www.codefling.com/db?category=[VALUE]&filename=FileName.cs

Parameter: ?onsale

Description: Filters and displays data that is specifically on sale.

Example:

https://www.codefling.com/db?category=[VALUE]&onsale

Parameter: ?ispurchsable

Description: Filters and displays data that is specifically able to be purchased.

Example:

https://www.codefling.com/db?category=[VALUE]&ispurchsable