Abstract
Keywords
Introduction
In February 2018, Google's (i.e. Alphabet's) Sidewalk Labs announced the launch of
The promise of seamlessness between data sources insinuated through
APIs here emerge as crucial elements of infrastructures that leverage accessibility to new kinds of seams within the urban fabric of data. Looking at APIs from their infrastructural function underlines how infrastructures are “pervasive enabling resources in network form,” resources that are always “relational” as they are actualized in daily practices (Bowker et al., 2010: 98, see also Star, 2002; Star and Ruhleder, 1996). For city administrators such infrastructures are essential for providing public services, while for end users they are often taken for granted to achieve everyday tasks. While infrastructure is most readily associated with durable systems of provisioning basic necessities, distributed global communication networks are increasingly becoming indispensable for localized action and practice (Sandvig, 2013). The study of cities and the study of information systems, to paraphrase Star, thus converge on a common interest in infrastructure as the durable yet contested and often invisible enabler of social life (see Star, 1999: 378).
The competing aspirations around new urban information infrastructures have for some time focused mainly on the massive integration effort of governments and cities to harness only those “rich seams of data that can [be] used to better depict, model and predict urban processes and simulate the likely outcomes of future urban development” (Kitchin, 2014b: 2). Measuring and quantifying the patterns of urban life through data puts forward new forms of “algorhythmic governance” (Coletta and Kitchin, 2017). It also enables interventions in the “realtimeness” of cities (Kitchin, 2018) that satisfy demands for efficient public spending and sustainable living as well as enabling tighter control of messy social processes, e.g. through surveillance of public space or preventive policing. Both kinds of intervention are based on integrating and representing previously solitary, ordinary or invisible “real-time streams” of various kinds of data (Beer, 2011: 143). Deploying sensor networks and CCTV technologies across city spaces epitomizes how “computation is built into the fabric of urban infrastructure” (Coletta and Kitchin, 2017: 1). At the same time, such applications “restructure and recommodify many previously ‘public’ domains of everyday life and material culture within western capitalist nations” (Graham, 2016: 565). Who has access to data about public life and for what purposes is increasingly a concern for city governments trying to avoid vendor lock-in and long-term dependency on corporate and proprietary platforms operating largely outside of public oversight and regulation.
The overt focus on potentials of surveillance and exclusion in these debates exposes an ongoing struggle between the necessities of city governments to adequately measure and manage vital urban processes and demands by citizens to participate in shaping these processes. On the one hand, urban data can refer to statistical or real-time information about a city's daily flows collected mainly for management and planning purposes by city departments for their respective tasks. On the other hand, urban information infrastructures also open up new sources for understanding cities and the lives of their citizens within a “datafied society” (Van Es and Schäfer, 2017). Psyllidis has coined the term “social urban data” to describe the wider domain of data (and information) derived from communication between individuals and groups about or within a city through digital media. Such data can be “implicitly-generated social data… sourced from sensors, such as GPS trackers, RFID card readers, and cameras, as well as from mobile phones.” But it can also entail communication posted publicly on social media profiles, personal websites, or in communications by associations and citizen groups. Following Psyllidis, social urban data then describes a combination of “process-mediated, machine-generated, and human-sourced” data: official statistics, automatically retrieved data from sensors, and data generated from quotidian interactions of citizens with urban spaces and each other (Psyllidis, 2016: 60f).
The role of APIs in making diverse sources for social urban data available brings up the crucial question how “interfaces could highlight the seams—in our infrastructural networks, between various layers of the urban stack, and even within the social fabric” (Mattern, 2014; cf. Bratton, 2016). The concept of City APIs discussed here is not limited to specific applications akin to Sidewalk's
This paper will discuss APIs as elements of infrastructures from three perspectives. In the first part, we review established criticisms of proprietary social media APIs, pointing out the crucial functions of APIs in current web architectures to connect users and data across applications and platforms. In the second part, we discuss how the design process of APIs defines conventions of data exchanges that also reflect negotiations between API producers and API consumers about affordances and mental models of the underlying computer systems involved. This part will highlight that APIs are far from neutral in this process but embed particular intended uses and assumptions in their design. In the third part, we discuss APIs in the context of open government data (OGD), urban dashboards, and recent urban data initiatives such as the City Service Development Kit (CitySDK) and OrganiCity to highlight the challenges of implementing APIs that serve cities as elements of civic infrastructures. The conceptualization of City APIs in this article deliberately draws on the fields of software studies, design theory, and smart city implementation to problematize City APIs as political, social, and technological interfaces at the same time. The aim is to conceptualize City APIs as interfaces that negotiate and reveal conflicting interests and aspirations within a city but that are neither conceptually nor technically limited to sustaining only one vision of how a city can be perceived or experienced.
Proprietary social media APIs and the architecture of the web
The function of APIs in the current architecture of the web (as the most public part of the Internet) has attracted wide attention from social and humanities scholars, especially focusing on social media APIs such as those of Facebook or Twitter. But social media APIs represent just one domain of application. More generally, APIs are standardized interfaces for the exchange of data that implement a particular grammar for talking to machines. They can facilitate machine-to-machine communication or enable human-to-machine communication. In the latter case, human intentions (gestures, queries, inputs) are represented in a machine-readable format, e.g. by “pushing a button on a screen” through a graphical user interface (GUI) commands on data are executed. Following the typology of interfaces in computing by Cramer and Fuller (2008: 149), APIs “determine relations between software and software,” and are thus not necessarily discernible on the level of the GUI. They are designed to access specific functionalities and data points in simple or complex data types (e.g., numeric, boolean, string, position, address) and employ only a limited set of operations such as GET, PUT, DELETE, or POST, when using the Hypertext Transfer Protocol.
One consequence of network-based APIs is that they create a specific architectural style to connect distributed resources and hosts for any given purpose or computation task in stable ways. APIs make “dataset[s] understandable by applications or websites” (Forum Virium, 2017: 9) and further implement the “weaving of the web” from dynamic content that was originally envisioned by Tim Berners-Lee for HTML encoding of websites (Berners-Lee and Fischetti, 2000). The most prevalent architectural style for web-based applications is “representational state transfer” (REST), originally defined by Roy Fielding. The REST protocol separates clients from servers, which means that development on each side can be done separately. The protocol is also stateless, which means each “call” contains all information necessary for its completion and therefore does not need status information from previous calls to be executed. Fielding associates the increased popularity of network-based APIs to “social dynamics” among developer communities in the late 1990s and a diversification of use cases for networked data (138f). In the so-called RESTful architecture of the web, APIs became essential components which allowed to dynamically “pull” data from different databases in response to user inputs or requests, instead of “pushing” the identical static information to every visitor of a page. What made REST popular was its flexibility and tolerance for third-party developers to build web applications and their mash-ups (the so-called programmable web, or Web 2.0; see Helmond, 2015). APIs have fundamentally contributed to what Plantin et al. (2016) have pointedly called a “‘platformization’ of infrastructures and an ‘infrastructuralization’ of platforms” (298) by standardizing exchanges for dynamic data between computer systems, platforms, and users (human and nonhuman). This standardization of data exchanges, however, has powerful consequences for the variety of applications that can be built when particular APIs are defined on a proprietary basis by only a few corporations, such as Facebook, Google, or Twitter, and begin to assume infrastructural functions for a broad range of applications. This development from data standardization through APIs to effective monopolization of access to data has been observed and criticized most fervently in the domain of social media research.
For researchers interested in tapping into the fabric of social life online (Borra and Rieder, 2014; boyd and Ellison, 2007; Manovich, 2011), APIs serve as “invisible actors” (Lahey, 2016) and central gatekeepers to what kind of data is publicly available. Because proprietary APIs are designed for commercial exploitation by third-party developers, control over API functions and access rights is with the corporations who define them. Appropriating such APIs for research questions creates a situation where a “data set may have many millions of pieces of data, but this does not mean it is random or representative” (boyd and Crawford, 2012: 668). Because the baseline or unit of comparison cannot be established independently of a proprietary social media API, big data research on social media sites requires considerable analytic and technical investment, skill development, and critical interrogation of automatically retrieved data (Kitchin, 2014a; Lomborg and Bechmann, 2014; Rieder and Gerlitz, 2013). As Bruns (2013) remarks in relation to Twitter, a vast collection of tweets, identified through a hashtag and retrieved through the Twitter Streaming API, may yield an “apparently well–delimited object of research which may not have been experienced in this form by any actual user” (see also González-Bailón et al., 2014). The problem is that a data collection on specific issues or relations of users will include only those items that match a certain search pattern and that
Criticism of proprietary social media APIs has focused mainly on issues of reliability and reproducibility of data collections, linking the design of the API to how a platform shapes access to the Web, gathers and processes user data, and privileges certain business models to be built on top of its data. APIs execute crucial gatekeeping functions which evade public scrutiny. Taking up the example of
APIs then appear as “powerful governing techniques of the current social Web” (Bucher, 2013; see also Sandvig, 2013) that initially enabled the transition from networks of static web pages to platform-based architectures in the early 2000s (Helmond, 2015). Starting with Facebook's Developer API in 2006, the API principle enabled third-party applications to be “seamlessly integrated” with social media platforms, shaping the “industry-wide practice of
An API functions as an element of infrastructure that represents a specific kind of management style, or what Galloway (2004) considers as “protocol”: A set of commands regulating “autonomous agents who operat[e] according to certain pre-agreed ‘scientific’ rules of the system” (38). The API is a “protocological object” (Bucher, 2013) that standardizes and regulates data flows. Control over this object rests with the owners and designers of APIs, those who have to negotiate what types of data and functions are accessible, how they are described, and who can use them. Design decisions on data types, methods, and access quota define APIs as “anticipatory in their very operational logic” (Bucher, 2013). Just like the inventors that Hughes described as weaving a “seamless web” between science and business in the electricity sector around the turn of the 20th century, designers of APIs “attempt to anticipate” future uses for data and functions, while they need to “incorporate responses” for users of APIs that they will rarely encounter in person (Hughes, 1986: 290). Designing an API must therefore integrate technological requirements with anticipations on the user's side about how the underlying system operates, what resources it offers, and how these can be queried. Ash (2015: 28) has previously brought attention to the “process by which objects in interfaces are organized by designers to produce particular qualities for other objects in that interface and for the people using that interface”. As Ash et al. (2018: 177) describe it, elements and tones of interfaces “are actively designed to work together to shape or prime specific responses or actions to potentially occur”.
API developers have a central role in designing these interfaces and how they allow to access data, functions, or resources. In the context of a city or urban space, designing an API outside of a commercial or proprietary context will necessarily involve taking into account what kinds of data sources are available and who is likely to use them. Because an API operates at the level of defining and providing data access that serves as a prerequisite and condition for user-focused applications, its definition and implementation embeds crucial socio-political assumptions in a technological framework that has far-reaching consequences for citizens, city administrators, and developers of applications using social urban data. In the next part, we will therefore discuss in more detail the design process of an API through core concepts from human–computer interaction (HCI) design.
Designing APIs: Affordances and mental models of API producers and consumers
The process of designing an API needs to effectively communicate between available data assets, functionalities, and potential uses of an API. We here focus on the differences between
The convention established between API producers and consumers can be framed in design terms as the
Initially, the term affordance was coined by the psychologist James Jerome Gibson (1979) to describe in phenomenological terms how animals perceive objects differently depending on contextual affordances, insinuating that the affordance of an object such as a log wood could be directly perceived (127–128). The design theorist Donald Norman (1988, 1998) adopted Gibson's term and introduced it to the field of design. He initially defined affordances as “the perceived and actual properties of the thing, primarily those fundamental properties that determine just how the thing could possibly be used” (Norman, 1988: 9). This definition suggests that affordances are identical to properties of objects. However, as Norman (2013) specified in the revised edition of
For API producers, an API needs to encode rules of how particular data objects are described and can be accessed, while anticipating different abilities of users to interpret these rules. In other words, an API's affordance is determined by how it translates real-world concepts such as traffic flow or occupancy of public buildings to data objects that are meaningful to different kinds of users, foregrounding the process of “encapsulating meaning” in an API itself (Holmboe, 2005: 189). One example for this process of encapsulating meaning can be the “Transport API,” 5 developed by Future Cities Catapult in London, which offers a range of data sets and real-time data sources from across the UK to potential API consumers but also citizens and public administrators. Available as an open data resource, the API allows to develop varied scenarios for the commercial and noncommercial use of such data, aligning restrictions on usage quota with levels of professionalization and commercialization on the side of API consumers. The example illustrates how an API can encapsulate different meanings of “transport” and can serve different affordances depending on the context and intended use case.
In Gibson's view, an object only had static material qualities that remained the same throughout its life. For APIs, the material qualities themselves are part of the environment and context in which they are perceived. In the words of design theorists Löwgren and Stolterman, APIs are “a material without qualities” since these qualities are constantly changing, either by altering existing functionalities, by deleting deprecated ones or adding new features (Löwgren and Stolterman, 2007: 3–4). This flexibility demands technological expertise as well as high context awareness for API producers and API consumers alike. What appears as a source of great flexibility to experienced developers can be daunting for novices like self-taught makers (Gauntlett and Holroyd, 2014), creative coders (Maeda, 2004), and interaction designers trying to bring APIs under their control (Schaeffer and Lindell, 2015: 718). Experienced API producers will refer to API documentations mainly to grasp its main concepts while untrained API consumers will need more experience with actual coding to manage the API interaction process successfully (Meng et al., 2017; Piccioni et al., 2013: 11). When an API encapsulates an ambivalent meaning or inadequately describes a real-world concept, interaction with an API can become highly unpredictable, e.g. when a current sensor reading is expected by an API consumer but the API returns only historical data or no data at all because the query is wrongly expressed. The specification of an API can also change over time, altering its affordance and thereby changing the use case. API producers and consumers therefore need to negotiate and agree on the domain which the API encapsulates, e.g. which data objects, assets, or functionalities are made available based on which standards or metadata frameworks.
The concept of affordance as an active negotiation of properties of objects with user capabilities brings to the fore that perceptions of real-world phenomena such as traffic or air quality can be interpreted in quite different ways when translated into data terms or seams. Give students the open task of defining functionalities of a “Library API,” for example, and they will come up with different ideas about what purpose this API shall serve: it may refer to either the media on the stacks, the building itself, or even properties of employees. A widely known real-world concept like “library” can be understood in very different ways when translated into data. The design of an API needs to address this and reveal which specific interpretation is used, or what is called in design terms the
Because API producers and consumers rarely interact directly, the design process of an API needs to reflect both the capabilities of a data source and the uses it can be put to. An API producer will first create an API specification (the conceptual model) and then implement the specification into a usable API (the system image). Whereas the conceptual model only outlines how different components of the system are connected and described, the working API needs to reveal a system image of what the underlying infrastructure is capable of (Balijepally et al., 2012: 5442). In this sense, the technical specifications of an API implement design choices about how the interface is appropriately accessed and what resources it makes available. There are data models available even for flowerbeds which could be embedded in an API, detailing in what ways such a quotidian, real-world object can be described in terms of data. 6 But using this specific data model will eventually capture only data that is expressible in terms of the model and not necessarily in terms of how a flowerbed is maintained, used, or even experienced by different people. Revealing intent effectively through an API depends on a high level of congruence between the conceptual model of API functionalities on the side of a producer, the system image that is created by the actual implementation of the API, and the anticipations about API functionalities by API consumers. These anticipations among users (here: consumers) are called “mental models” in design theory.
Building on the work of Johnson-Laird (1983) and others, the concept of mental models is central in design theory (Norman, 1988, 2013) and is meanwhile also used to study the dynamics of collaboration in distributed developer teams (Balijepally et al., 2012; DeFranco et al., 2011; Scozzi et al., 2008). In design theory “[t]he mental model of a device is formed largely by interpreting its perceived actions and its visible structure” (Norman, 1988: 17). A mental model of an action or an object is built from previous experiences with similar objects or actions and helps to understand new situations even if the specifics are different (Norman, 1988: 70–71). The design process of an API can be regarded as a negotiation of mental models between API producers and consumers. Whereas the former need to design APIs that reveal the appropriate system image, e.g. what data is available in which format about which flowerbeds, the latter build mental models of the system image by interacting with it (Norman, 1988: 16), e.g. by evaluating the quality and scope of data available about flowerbeds in a particular location. Mental models are important for understanding how design choices influence the usability of APIs. Since the API serves as the intermediate between a data source and its consumers, the specific functions, parameters, and return values of an API all affect what mental model API consumers will develop about the underlying system (Robillard and DeLine, 2011: 722–723). This puts a high responsibility on API producers to anticipate future API consumers' expectations and needs. As Norman (1988) states: “If the system image does not make the design [conceptual] model clear and consistent, then the user will end up with the wrong model” (16). Designers need to evoke and reveal a system image that adequately fulfills API consumers' mental model, i.e. fulfills their expectation of what kind of data can be obtained and how it can be queried through API calls.
The design of APIs is therefore a process of negotiating affordances, mental models, and system images to reveal a specific intent. This can happen through, e.g. appropriate documentation or facilitating the repeated interaction with APIs. While it is tempting to discuss guidelines for developing successful APIs 7 the aim of this article is to problematize how interfaces to urban information infrastructures such as City APIs are the results of negotiations between design options, political objectives, technological capabilities, and civic values. Deciding what affordances City APIs shall offer, what mental models they raise among its varied consumers, and what seams they reveal within the chaotic and contradictory urban sphere is a highly contested domain. Again, there is not one City API which is applicable for all cities or use cases but design choices about APIs can reveal different seams in every city, depending on the political, social, and cultural imperatives that shape the design specifications for APIs and the mental models involved in the process. City APIs can be seen as a specific technological manifestation of political and design choices that actively anticipate a particular course and potential use of social urban data for a broad range of stakeholders.
City APIs: From public services to civic infrastructures
Applying the concept of an API to the seams of data woven into the fabric of a city brings up the question what future purposes such an interface to data shall serve and for whom. In contrast to commercial or proprietary APIs, often developed by only one company, designing interfaces for data seams in cities needs to include broader deliberations across actor groups—from administrators and politicians to citizens and enterprises—to determine the objectives of making data available. Because interests and aspirations around the use and potentials of public data can vary greatly within a city, developing interfaces has to fulfill competing demands for optimized public service delivery, innovation of businesses, as well as supporting accessibility for and participation by citizens. Although an API is often designed for a specific use case, deliberation on these competing demands and multiple uses in a city can serve also to identify current disjunctions between branches of city administration, aspirations for civic participation, and the needs of business and research. City APIs can thus be conceived as crucial elements in civic infrastructures that potentially also enable new ways making the city “hackable” (De Waal et al., 2017) and open to interventions by citizens (Mattern, 2014, 2017a). The main goal of this third part is to conceptualize City APIs as interfaces to urban information infrastructures that can support these varied (and often conflicting) public, civic, and commercial uses at the same time.
In popular and academic discussions, the idea of seamless integration of data sources through APIs is often associated with an imaginary of a city dashboard—a centralized command center for surveillance, monitoring, and management. As Kitchin et al. (2015) point out, dashboard imaginaries “privilege a realist, quantitative epistemology, enact an instrumental rationality, and fail to recognize and denote their contingent unfolding, their inherent politics, and their technical and methodological issues” (24). The dashboard as an imaginary, and meanwhile also
The importance of APIs as integral infrastructural elements of web-based communication also signals a shift from the common practice of publishing static data sets in data repositories to integrating real-time, dynamic data such as traffic information, weather conditions, or occupancy of public spaces. Because development and design costs are much higher, publishing data through APIs implies the continuous update of such data whereas the publishing of static data sets as open government data (OGD) often merely reflects redundant data no longer in use in city departments. To give an example: There are currently more than 880,000 open data sets from cities all over Europe listed in the European Data Portal.
8
These data sets vary greatly in terms of geographical distribution, subject area, and degree of standardization. Despite the problems with such unstructured and often incomparable data, OGD is often seen as “facilitat[ing] new marketplaces for software entrepreneurship” (Barns, 2015: 556), to enable more efficient public services, promote accountable government action, and provide an open resource for citizens to participate in public deliberation (Aguilera et al., 2017; Ubaldi, 2013). The problem with sharing data sets in such a way is that they are mostly collected for specific departmental purposes and are not necessarily
As pointed out by Kitchin (2014b), the technical proficiency to create and manage APIs for urban data, in contrast to publishing static data sets, can obstruct the availability of such data and its future uses outside of core public services. Take the example of the German town Potsdam (about 170,000 inhabitants). Challenged with the task of establishing an open data portal, the city initiated a public survey in 2015 to determine which kind of data would be interesting for citizens, researchers, and businesses. One result of this survey was that cartographic data for current and prospective developments was high in demand, with preferences for pdf formats (likely to be demanded by citizens) and in standardized GIS data (likely to be demanded by developers and researchers). The city commissioned a service provider (OpenDataSoft) to set up and maintain the portal, which went online in 2018, three years after the survey. 9 Cartographic data is now available in several static formats as well as through an API, which allows subsequent public and commercial services to be built on top of this data. The example illustrates that the design of City APIs is dependent on a much broader internal and public deliberation process through new kinds of collaborative and participatory practices, in which divergent aspirations and affordances among stakeholders in a city can be articulated and negotiated. The example also shows that the process of establishing public and cross-departmental collaborations around a vital subject like open data can take quite a long time to materialize in a usable interface, often facilitated through newly established departments or units.
To illustrate the role of City APIs as elements in civic infrastructures we discuss two broader initiatives in the domain of smart city innovation: CitySDK and OrganiCity. In both initiatives, APIs are central to a design process that foregrounds the future uses of urban data
The CitySDK 10 was developed by a consortium of eight European cities to integrate the development of APIs for common tasks in cities. Led by Forum Virium in Helsinki, CitySDK published the “Harmonised Smart City API's” for common tasks such as issue reporting by citizens, event announcements, linked data for transportation and mobility, or data for tourists. Because APIs were designed for tasks that are similar in many cities, they reduce the effort needed to create such services individually in each city while setting interoperability standards for third-party services using these APIs (Forum Virium, 2017). Rather than starting from the availability of existing data sets within one city (e.g., through OGD in data repositories), the design of these City APIs was geared toward portability and interoperability between cities for common challenges and use cases. This example demonstrates how the initial task of optimizing a public service (e.g., issue reporting) helped to initiate an infrastructural development effort across different cities to avoid the lock-ins of proprietary APIs and to align the design of applications with cities' needs and aspirations.
In the second project (OrganiCity), the aim was to establish an Experimentation-as-a-Service facility for public and sensor data across the cities of Aarhus, London, and Santander (see Brynskov et al., 2018; Gutierrez et al. 2017). The project was based on specific challenges posed by the participating cities and developed a joint platform and tools for sharing data. Through two open calls the project enabled teams of experimenters to experiment with new scenarios for such data through co-creation methodologies and a dedicated community-outreach campaign geared toward nonexperts and the general public. Participants in the project and the experiment teams followed a set of engagement principles to enable community involvement, foster network building, and collect local knowledge and experiences. The OrganiCity platform was developed to enable very different kinds of expert and nonexpert users of data to experiment with and prototype new use cases and scenarios that addressed city challenges. One outcome of the co-creation processes was the development of APIs to discover and annotate data sources in cities. The Asset Discovery API 11 defines access to various static and real-time data sources from all participating cities, enabling experimenters to compare and integrate data sources for new uses. The Asset Annotation API 12 allows the description of data assets in natural language tags, similar to tagging photos or posts on social media, creating a crowdsourced resource where nonexpert users can express multiple identities of data points, highlighting their respective contexts and possible fields of application.
CitySDK and OrganiCity show that publishing urban data through APIs initiates a design and development process for particular challenges or objectives that can be co-created by citizens, city officials, researchers, and businesses rather than being the sole development effort of large corporations (cf. Brynskov et al., 2018; Gutierrez et al., 2017). Based on standardized descriptions of data and interfaces across cities, and by integrating common methods to combine data sources for specific tasks, APIs can serve both improved public service delivery as well as enabling new civic and commercial uses. In the city of Aarhus, to give another example, 1000 district heating wells were equipped with low-cost sensors to monitor leaks and temperature losses within the system. The sensors and gateways use open LoRaWan standards and specifications (Low Power Wide Area Network Technology) 13 and are estimated to save Aarhus municipality about 1 million Danish Kroner annually (US$152,000 or £119,000). 14 Where an experimental approach to solving such urban challenges can be fostered through standardized interfaces and data, a viable and working solution can quickly develop into best practices and potentially new markets across cities. But developing such standards for APIs, data models, and management processes is often beyond the scope of individual projects or cities. The example of Potsdam shows that domain expertise in open data portals and API specifications is not readily available within a city and needs to be acquired from external service providers. The example of Aarhus, in contrast, demonstrates that a city can decide to build its own specialized, cross-departmental unit and build up internal competence in this field.
It is even more difficult to integrate the plurality of experimental and local solutions in broader transnational or cross-domain initiatives and standardization bodies, e.g. in the Smart Cities and Community Study Group under the International Telecommunication Union, UN initiatives such as United 4 Smart Sustainable Cities, the European Telecommunications Standards Institute, or the International Organization for Standardization. Associations of cities like Open & Agile Smart Cities seek to scale solutions and developments in projects such as CitySDK or OrganiCity, to enable the reuse of APIs and data models to develop minimal interoperability mechanisms to create inter-city markets, exchanges, and infrastructures. 15
City APIs are vital elements of urban information infrastructures in which the city appears increasingly as an “ecosystem of interconnected digital media platforms” (De Waal et al., 2017: 52) that do not necessarily overlap with physical locations or their inhabitants. To maintain a sense of connection between these platforms and their users, between digital domain spaces and physical locations, a stronger attention to the politics and designs of interfaces that negotiate these connections is needed. Urban theorists and activists have challenged the smart city paradigm precisely for its technocratic, instrumentalist vision, and argued fervently for an appreciation and protection of the plurality of urban life. The question is here, how can new urban information infrastructures, deployed at scale and at immense public cost, be designed so as to offer a “peek down the urban stack” (Mattern, 2014) and to allow interventionist approaches to “city making” and “city hacking” (Brynskov et al., 2014; De Waal, 2014; De Waal et al., 2017; Estrada-Grajales et al., 2018; Foth et al., 2016; Mattern, 2017a, 2017b; Van de Moere and Hill, 2012). In light of large-scale deployments of sensor infrastructures such as Sidewalk Labs' planned and contested redevelopment of the Toronto waterfront, 16 there is a growing perception that “the rhetoric and aspiration of smart cities attempts to obviate civic engagement because the political axes of history, justice, and culture are rendered illegible through instrumentation” (Asad et al., 2017: 2302). In this article we have argued that City APIs can include more than one vision of what seams get woven from social urban data to make cities meaningful from more than one, efficiency-driven angle and interpretation of seamlessness. We have also argued that commercial applications do not need to contradict civic aspirations around these infrastructures. Designing CityAPIs that fulfill conflicting commercial and civic demands will necessarily reveal conflicts between different groups of stakeholders in a city. What we have underlined in this article is that the actual implementation of CityAPIs for specific services and their conceptual implications as elements of civic infrastructures cannot be dissociated from questions of design, governance, and access.
Summary
We have offered three analytic inroads to conceptualizing APIs as central elements of infrastructures. In an applied sense, City APIs describe actual implementations of interfaces for social urban data that enable a range of inter-city services and standardizing particular routines of access while remaining open to reuse and appropriation by users. In which ways an API creates mental images and affordances for its use was discussed in the second part, which highlighted that the development of APIs was a specific design challenge in which system capabilities, user anticipation, and documentation reflexively shape APIs as “protocological objects” (Bucher, 2013). Through this perspective of design we have also emphasized that such objects appear as less fixed and easy to identify when seen from the processual logic of their development. What appears as more or less stable from the point of critical analysis (e.g., proprietary APIs) is from a design and implementation perspective revealed as a momentary stabilization of conventions in an ongoing process of negotiation. Which affordances are offered through an API is thus a direct result of the kinds of seams that are selected for its operation and its anticipated future uses. Understanding APIs as reflexive objects that negotiate between users and systems, we can see how our knowledge of such objects is permeated by a shift from
