PHPackages                             futmkt/fut-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. futmkt/fut-api

ActiveProject[API Development](/categories/api)

futmkt/fut-api
==============

FIFA WebApp API

1.1(6y ago)111156[4 issues](https://github.com/futmkt/fut-api/issues)MITPHPPHP &gt;=7.0.0

Since Sep 25Pushed 6y ago4 watchersCompare

[ Source](https://github.com/futmkt/fut-api)[ Packagist](https://packagist.org/packages/futmkt/fut-api)[ RSS](/packages/futmkt-fut-api/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Fifa 20 WebApp API
==================

[](#fifa-20-webapp-api)

Manage your Fifa 20 Ultimate Team using this Fifa 20 Ultimate Team API. Written solely in PHP

Installing FUTApi
=================

[](#installing-futapi)

The recommended way to install Fifa 20 WebApp API is through [Composer](http://getcomposer.org).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of Guzzle:

```
composer require futmkt/fut-api
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

DS File
=======

[](#ds-file)

ds.js is responsible for generate the new ds header for auth. Please set env('DS\_PATH') before use the script.

Example:

```
DS_PATH = "/path/to/directory" # path to directory, where is file located
```

Documentation
=============

[](#documentation)

Python source provided by:

Usage
=====

[](#usage)

Login
-----

[](#login)

Login parameters:

- email: \[string\] email used for logging into the Fifa 20 WebApp
- password: \[string\] password used for logging into the Fifa 20 WebApp
- platform: \[string\] pc/ps4/ps4/xbox/xbox360
- code: \[string\] email/sms code for two-step verification (make sure to use string if your code starts with 0).
- emulate: \[string\] currently DISABLED.
- cookies: \[string\] path to cookies file, if not provided it'll be created in your temp system directory.

```
use FUTApi\Core;
use FUTApi\FutError;
try {
    $fut = new Core('email', 'password', 'platform', 'backup_code');
} catch(FutError $e) {
    $error = $e->GetOptions();
    die("We have an error logging in: ".$error['reason']);
}
$login = $fut->login();
```

After you have initiated your first session, you can then use the API wthout logging in again using the session info from your original login array:

```
use FUTApi\Core;
use FUTApi\FutError;
$fut = new Core('email', 'password', 'platform', 'backup_code');
$fut->setSession($persona, $nucleus, $phishing, $session, $dob);
```

Search
------

[](#search)

Optional parameters:

- min\_price: \[int\] Minimal price.
- max\_price: \[int\] Maximum price.
- min\_buy: \[int\] Minimal buy now price.
- max\_buy: \[int\] Maximum buy now price.
- level: \['bronze'/'silver'/gold'\] Card level.
- start: \[int\] Start page number.
- category: \['fitness'/'?'\] Card category.
- assetId: \[int\] assetId.
- defId: \[int\] defId.
- league: \[int\] League id.
- club: \[int\] Club id.
- position: \[int?/str?\] Position.
- zone: \['attacker'/'?'\] zone.
- nationality: \[int\] Nation id.
- rare: \[boolean\] True for searching special cards.
- playStyle: \[str?\] playStyle.
- page\_size: \[int\] Amount of cards on single page (changing this might be risky).

```
$items = $fut->searchAuctions('player');
```

Logout
------

[](#logout)

Replicates clicking the Logout button.

```
$fut->logout();

```

License
-------

[](#license)

GNU GPLv3

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

2

Last Release

2418d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3a7e75d03bde535fdba3cf817a89c0e1dcf674c1bd5dea2915873c238c6cfc1?d=identicon)[futmkt](/maintainers/futmkt)

---

Top Contributors

[![Helda90](https://avatars.githubusercontent.com/u/46477622?v=4)](https://github.com/Helda90 "Helda90 (2 commits)")[![futmkt](https://avatars.githubusercontent.com/u/55805248?v=4)](https://github.com/futmkt "futmkt (1 commits)")

---

Tags

fifafutfifa api

### Embed Badge

![Health badge](/badges/futmkt-fut-api/health.svg)

```
[![Health](https://phpackages.com/badges/futmkt-fut-api/health.svg)](https://phpackages.com/packages/futmkt-fut-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
